Skip to content

Commit 344d4f2

Browse files
committed
test
1 parent 2498413 commit 344d4f2

3 files changed

Lines changed: 36 additions & 36 deletions

File tree

test/expected/drop_owned-15.out

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,32 +26,32 @@ SELECT * FROM _timescaledb_catalog.hypertable ORDER BY id;
2626
1 | hypertable_schema | default_perm_user | _timescaledb_internal | _hyper_1 | 2 | _timescaledb_functions | calculate_chunk_interval | 0 | 0 | | 0
2727
2 | hypertable_schema | superuser | _timescaledb_internal | _hyper_2 | 2 | _timescaledb_functions | calculate_chunk_interval | 0 | 0 | | 0
2828

29-
SELECT id, hypertable_id, schema_name, table_name, compressed_chunk_id, status, osm_chunk FROM _timescaledb_catalog.chunk;
30-
id | hypertable_id | schema_name | table_name | compressed_chunk_id | status | osm_chunk
31-
----+---------------+-----------------------+------------------+---------------------+--------+-----------
32-
1 | 1 | _timescaledb_internal | _hyper_1_1_chunk | | 0 | f
33-
2 | 2 | _timescaledb_internal | _hyper_2_2_chunk | | 0 | f
29+
SELECT id, hypertable_id, schema_name, table_name, status, osm_chunk FROM _timescaledb_catalog.chunk;
30+
id | hypertable_id | schema_name | table_name | status | osm_chunk
31+
----+---------------+-----------------------+------------------+--------+-----------
32+
1 | 1 | _timescaledb_internal | _hyper_1_1_chunk | 0 | f
33+
2 | 2 | _timescaledb_internal | _hyper_2_2_chunk | 0 | f
3434

3535
DROP OWNED BY :ROLE_DEFAULT_PERM_USER;
3636
SELECT * FROM _timescaledb_catalog.hypertable ORDER BY id;
3737
id | schema_name | table_name | associated_schema_name | associated_table_prefix | num_dimensions | chunk_sizing_func_schema | chunk_sizing_func_name | chunk_target_size | compression_state | compressed_hypertable_id | status
3838
----+-------------------+------------+------------------------+-------------------------+----------------+--------------------------+--------------------------+-------------------+-------------------+--------------------------+--------
3939
2 | hypertable_schema | superuser | _timescaledb_internal | _hyper_2 | 2 | _timescaledb_functions | calculate_chunk_interval | 0 | 0 | | 0
4040

41-
SELECT id, hypertable_id, schema_name, table_name, compressed_chunk_id, status, osm_chunk FROM _timescaledb_catalog.chunk;
42-
id | hypertable_id | schema_name | table_name | compressed_chunk_id | status | osm_chunk
43-
----+---------------+-----------------------+------------------+---------------------+--------+-----------
44-
2 | 2 | _timescaledb_internal | _hyper_2_2_chunk | | 0 | f
41+
SELECT id, hypertable_id, schema_name, table_name, status, osm_chunk FROM _timescaledb_catalog.chunk;
42+
id | hypertable_id | schema_name | table_name | status | osm_chunk
43+
----+---------------+-----------------------+------------------+--------+-----------
44+
2 | 2 | _timescaledb_internal | _hyper_2_2_chunk | 0 | f
4545

4646
DROP TABLE hypertable_schema.superuser;
4747
--everything should be cleaned up
4848
SELECT * FROM _timescaledb_catalog.hypertable GROUP BY id;
4949
id | schema_name | table_name | associated_schema_name | associated_table_prefix | num_dimensions | chunk_sizing_func_schema | chunk_sizing_func_name | chunk_target_size | compression_state | compressed_hypertable_id | status
5050
----+-------------+------------+------------------------+-------------------------+----------------+--------------------------+------------------------+-------------------+-------------------+--------------------------+--------
5151

52-
SELECT id, hypertable_id, schema_name, table_name, compressed_chunk_id, status, osm_chunk FROM _timescaledb_catalog.chunk;
53-
id | hypertable_id | schema_name | table_name | compressed_chunk_id | status | osm_chunk
54-
----+---------------+-------------+------------+---------------------+--------+-----------
52+
SELECT id, hypertable_id, schema_name, table_name, status, osm_chunk FROM _timescaledb_catalog.chunk;
53+
id | hypertable_id | schema_name | table_name | status | osm_chunk
54+
----+---------------+-------------+------------+--------+-----------
5555

5656
SELECT * FROM _timescaledb_catalog.dimension;
5757
id | hypertable_id | column_name | column_type | aligned | num_slices | partitioning_func_schema | partitioning_func | interval_length | compress_interval_length | integer_now_func_schema | integer_now_func

test/expected/drop_owned-16.out

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,32 +26,32 @@ SELECT * FROM _timescaledb_catalog.hypertable ORDER BY id;
2626
1 | hypertable_schema | default_perm_user | _timescaledb_internal | _hyper_1 | 2 | _timescaledb_functions | calculate_chunk_interval | 0 | 0 | | 0
2727
2 | hypertable_schema | superuser | _timescaledb_internal | _hyper_2 | 2 | _timescaledb_functions | calculate_chunk_interval | 0 | 0 | | 0
2828

29-
SELECT id, hypertable_id, schema_name, table_name, compressed_chunk_id, status, osm_chunk FROM _timescaledb_catalog.chunk;
30-
id | hypertable_id | schema_name | table_name | compressed_chunk_id | status | osm_chunk
31-
----+---------------+-----------------------+------------------+---------------------+--------+-----------
32-
1 | 1 | _timescaledb_internal | _hyper_1_1_chunk | | 0 | f
33-
2 | 2 | _timescaledb_internal | _hyper_2_2_chunk | | 0 | f
29+
SELECT id, hypertable_id, schema_name, table_name, status, osm_chunk FROM _timescaledb_catalog.chunk;
30+
id | hypertable_id | schema_name | table_name | status | osm_chunk
31+
----+---------------+-----------------------+------------------+--------+-----------
32+
1 | 1 | _timescaledb_internal | _hyper_1_1_chunk | 0 | f
33+
2 | 2 | _timescaledb_internal | _hyper_2_2_chunk | 0 | f
3434

3535
DROP OWNED BY :ROLE_DEFAULT_PERM_USER;
3636
SELECT * FROM _timescaledb_catalog.hypertable ORDER BY id;
3737
id | schema_name | table_name | associated_schema_name | associated_table_prefix | num_dimensions | chunk_sizing_func_schema | chunk_sizing_func_name | chunk_target_size | compression_state | compressed_hypertable_id | status
3838
----+-------------------+------------+------------------------+-------------------------+----------------+--------------------------+--------------------------+-------------------+-------------------+--------------------------+--------
3939
2 | hypertable_schema | superuser | _timescaledb_internal | _hyper_2 | 2 | _timescaledb_functions | calculate_chunk_interval | 0 | 0 | | 0
4040

41-
SELECT id, hypertable_id, schema_name, table_name, compressed_chunk_id, status, osm_chunk FROM _timescaledb_catalog.chunk;
42-
id | hypertable_id | schema_name | table_name | compressed_chunk_id | status | osm_chunk
43-
----+---------------+-----------------------+------------------+---------------------+--------+-----------
44-
2 | 2 | _timescaledb_internal | _hyper_2_2_chunk | | 0 | f
41+
SELECT id, hypertable_id, schema_name, table_name, status, osm_chunk FROM _timescaledb_catalog.chunk;
42+
id | hypertable_id | schema_name | table_name | status | osm_chunk
43+
----+---------------+-----------------------+------------------+--------+-----------
44+
2 | 2 | _timescaledb_internal | _hyper_2_2_chunk | 0 | f
4545

4646
DROP TABLE hypertable_schema.superuser;
4747
--everything should be cleaned up
4848
SELECT * FROM _timescaledb_catalog.hypertable GROUP BY id;
4949
id | schema_name | table_name | associated_schema_name | associated_table_prefix | num_dimensions | chunk_sizing_func_schema | chunk_sizing_func_name | chunk_target_size | compression_state | compressed_hypertable_id | status
5050
----+-------------+------------+------------------------+-------------------------+----------------+--------------------------+------------------------+-------------------+-------------------+--------------------------+--------
5151

52-
SELECT id, hypertable_id, schema_name, table_name, compressed_chunk_id, status, osm_chunk FROM _timescaledb_catalog.chunk;
53-
id | hypertable_id | schema_name | table_name | compressed_chunk_id | status | osm_chunk
54-
----+---------------+-------------+------------+---------------------+--------+-----------
52+
SELECT id, hypertable_id, schema_name, table_name, status, osm_chunk FROM _timescaledb_catalog.chunk;
53+
id | hypertable_id | schema_name | table_name | status | osm_chunk
54+
----+---------------+-------------+------------+--------+-----------
5555

5656
SELECT * FROM _timescaledb_catalog.dimension;
5757
id | hypertable_id | column_name | column_type | aligned | num_slices | partitioning_func_schema | partitioning_func | interval_length | compress_interval_length | integer_now_func_schema | integer_now_func

test/expected/drop_owned-17.out

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,32 +26,32 @@ SELECT * FROM _timescaledb_catalog.hypertable ORDER BY id;
2626
1 | hypertable_schema | default_perm_user | _timescaledb_internal | _hyper_1 | 2 | _timescaledb_functions | calculate_chunk_interval | 0 | 0 | | 0
2727
2 | hypertable_schema | superuser | _timescaledb_internal | _hyper_2 | 2 | _timescaledb_functions | calculate_chunk_interval | 0 | 0 | | 0
2828

29-
SELECT id, hypertable_id, schema_name, table_name, compressed_chunk_id, status, osm_chunk FROM _timescaledb_catalog.chunk;
30-
id | hypertable_id | schema_name | table_name | compressed_chunk_id | status | osm_chunk
31-
----+---------------+-----------------------+------------------+---------------------+--------+-----------
32-
1 | 1 | _timescaledb_internal | _hyper_1_1_chunk | | 0 | f
33-
2 | 2 | _timescaledb_internal | _hyper_2_2_chunk | | 0 | f
29+
SELECT id, hypertable_id, schema_name, table_name, status, osm_chunk FROM _timescaledb_catalog.chunk;
30+
id | hypertable_id | schema_name | table_name | status | osm_chunk
31+
----+---------------+-----------------------+------------------+--------+-----------
32+
1 | 1 | _timescaledb_internal | _hyper_1_1_chunk | 0 | f
33+
2 | 2 | _timescaledb_internal | _hyper_2_2_chunk | 0 | f
3434

3535
DROP OWNED BY :ROLE_DEFAULT_PERM_USER;
3636
SELECT * FROM _timescaledb_catalog.hypertable ORDER BY id;
3737
id | schema_name | table_name | associated_schema_name | associated_table_prefix | num_dimensions | chunk_sizing_func_schema | chunk_sizing_func_name | chunk_target_size | compression_state | compressed_hypertable_id | status
3838
----+-------------------+------------+------------------------+-------------------------+----------------+--------------------------+--------------------------+-------------------+-------------------+--------------------------+--------
3939
2 | hypertable_schema | superuser | _timescaledb_internal | _hyper_2 | 2 | _timescaledb_functions | calculate_chunk_interval | 0 | 0 | | 0
4040

41-
SELECT id, hypertable_id, schema_name, table_name, compressed_chunk_id, status, osm_chunk FROM _timescaledb_catalog.chunk;
42-
id | hypertable_id | schema_name | table_name | compressed_chunk_id | status | osm_chunk
43-
----+---------------+-----------------------+------------------+---------------------+--------+-----------
44-
2 | 2 | _timescaledb_internal | _hyper_2_2_chunk | | 0 | f
41+
SELECT id, hypertable_id, schema_name, table_name, status, osm_chunk FROM _timescaledb_catalog.chunk;
42+
id | hypertable_id | schema_name | table_name | status | osm_chunk
43+
----+---------------+-----------------------+------------------+--------+-----------
44+
2 | 2 | _timescaledb_internal | _hyper_2_2_chunk | 0 | f
4545

4646
DROP TABLE hypertable_schema.superuser;
4747
--everything should be cleaned up
4848
SELECT * FROM _timescaledb_catalog.hypertable GROUP BY id;
4949
id | schema_name | table_name | associated_schema_name | associated_table_prefix | num_dimensions | chunk_sizing_func_schema | chunk_sizing_func_name | chunk_target_size | compression_state | compressed_hypertable_id | status
5050
----+-------------+------------+------------------------+-------------------------+----------------+--------------------------+------------------------+-------------------+-------------------+--------------------------+--------
5151

52-
SELECT id, hypertable_id, schema_name, table_name, compressed_chunk_id, status, osm_chunk FROM _timescaledb_catalog.chunk;
53-
id | hypertable_id | schema_name | table_name | compressed_chunk_id | status | osm_chunk
54-
----+---------------+-------------+------------+---------------------+--------+-----------
52+
SELECT id, hypertable_id, schema_name, table_name, status, osm_chunk FROM _timescaledb_catalog.chunk;
53+
id | hypertable_id | schema_name | table_name | status | osm_chunk
54+
----+---------------+-------------+------------+--------+-----------
5555

5656
SELECT * FROM _timescaledb_catalog.dimension;
5757
id | hypertable_id | column_name | column_type | aligned | num_slices | partitioning_func_schema | partitioning_func | interval_length | compress_interval_length | integer_now_func_schema | integer_now_func

0 commit comments

Comments
 (0)