Skip to content

Commit 747e869

Browse files
committed
Fix typo in create_index.sql.
Introduced by 578b229. 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
1 parent d0654e5 commit 747e869

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/test/regress/expected/create_index.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1605,8 +1605,8 @@ DROP TABLE cwi_test;
16051605
--
16061606
CREATE TABLE syscol_table (a INT);
16071607
-- System columns cannot be indexed
1608-
CREATE INDEX ON syscolcol_table (ctid);
1609-
ERROR: relation "syscolcol_table" does not exist
1608+
CREATE INDEX ON syscol_table (ctid);
1609+
ERROR: index creation on system columns is not supported
16101610
-- nor used in expressions
16111611
CREATE INDEX ON syscol_table ((ctid >= '(1000,0)'));
16121612
ERROR: index creation on system columns is not supported

src/test/regress/sql/create_index.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ DROP TABLE cwi_test;
610610
CREATE TABLE syscol_table (a INT);
611611

612612
-- System columns cannot be indexed
613-
CREATE INDEX ON syscolcol_table (ctid);
613+
CREATE INDEX ON syscol_table (ctid);
614614

615615
-- nor used in expressions
616616
CREATE INDEX ON syscol_table ((ctid >= '(1000,0)'));

0 commit comments

Comments
 (0)