mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-17 19:13:16 +08:00
This commit moves a lot of test setup logic to runner.sh. Also passes the right commands to the regression infrastructure to create appropriate users and run tests as a regular user.
10 lines
312 B
SQL
10 lines
312 B
SQL
\set ECHO errors
|
|
\set VERBOSITY default
|
|
|
|
DO $$
|
|
BEGIN
|
|
ASSERT( _timescaledb_internal.get_partition_for_key('') = 669664877 );
|
|
ASSERT( _timescaledb_internal.get_partition_for_key('dev1') = 1129986420 );
|
|
ASSERT( _timescaledb_internal.get_partition_for_key('longlonglonglongpartitionkey') = 1169179734);
|
|
END$$;
|