Skip to content

Commit fd60061

Browse files
committed
minor test bugfix
1 parent d24fb7f commit fd60061

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

nix/tests/expected/pg_partman.out

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ create table partman_test.time_taptest_table(
1010
col3 timestamptz not null default now()
1111
)
1212
partition by range (col3);
13-
create index on partman_test.time_tap (col3);
14-
ERROR: relation "partman_test.time_tap" does not exist
13+
create index on partman_test.time_taptest_table (col3);
1514
/*
1615
Unique indexes (including primary keys) cannot be created on a natively partitioned parent unless they include the partition key. For time-based partitioning that generally doesn't work out since that would limit only a single timestamp value in each child table. pg_partman helps to manage this by using a template table to manage properties that currently are not supported by native partitioning. Note that this does not solve the issue of the constraint not being enforced across the entire partition set. See the main documentation to see which properties are managed by the template.
1716

nix/tests/sql/pg_partman.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ create table partman_test.time_taptest_table(
1313
)
1414
partition by range (col3);
1515

16-
create index on partman_test.time_tap (col3);
16+
create index on partman_test.time_taptest_table (col3);
1717

1818
/*
1919
Unique indexes (including primary keys) cannot be created on a natively partitioned parent unless they include the partition key. For time-based partitioning that generally doesn't work out since that would limit only a single timestamp value in each child table. pg_partman helps to manage this by using a template table to manage properties that currently are not supported by native partitioning. Note that this does not solve the issue of the constraint not being enforced across the entire partition set. See the main documentation to see which properties are managed by the template.

0 commit comments

Comments
 (0)