1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-28 11:55:03 +03:00

Fix typo in create_index.sql.

Introduced by 578b229718.

Author: Dean Rasheed <dean.a.rasheed@gmail.com>
Reviewed-by: Tender Wang <tndrwang@gmail.com>
Discussion: https://postgr.es/m/CAEZATCV_CzRSOPMf1gbHQ7xTmyrV6kE7ViCBD6B81WF7GfTAEA@mail.gmail.com
Backpatch-through: 13
This commit is contained in:
Dean Rasheed
2025-08-04 16:20:31 +01:00
parent 2d81a246f4
commit 347b6a1fff
2 changed files with 3 additions and 3 deletions

View File

@@ -1624,8 +1624,8 @@ DROP TABLE cwi_test;
-- --
CREATE TABLE syscol_table (a INT); CREATE TABLE syscol_table (a INT);
-- System columns cannot be indexed -- System columns cannot be indexed
CREATE INDEX ON syscolcol_table (ctid); CREATE INDEX ON syscol_table (ctid);
ERROR: relation "syscolcol_table" does not exist ERROR: index creation on system columns is not supported
-- nor used in expressions -- nor used in expressions
CREATE INDEX ON syscol_table ((ctid >= '(1000,0)')); CREATE INDEX ON syscol_table ((ctid >= '(1000,0)'));
ERROR: index creation on system columns is not supported ERROR: index creation on system columns is not supported

View File

@@ -635,7 +635,7 @@ DROP TABLE cwi_test;
CREATE TABLE syscol_table (a INT); CREATE TABLE syscol_table (a INT);
-- System columns cannot be indexed -- System columns cannot be indexed
CREATE INDEX ON syscolcol_table (ctid); CREATE INDEX ON syscol_table (ctid);
-- nor used in expressions -- nor used in expressions
CREATE INDEX ON syscol_table ((ctid >= '(1000,0)')); CREATE INDEX ON syscol_table ((ctid >= '(1000,0)'));