Typo in create_index regression test
While looking at create_index.sql, I noticed the following:
--
-- Check handling of indexes on system columns
--
CREATE TABLE syscol_table (a INT);
-- System columns cannot be indexed
CREATE INDEX ON syscolcol_table (ctid);
which isn't testing what it claims to test because there's a typo in
the table name. Patch attached.
Regards,
Dean
Attachments:
v1-0001-Fix-typo-in-create_index.sql.patchtext/x-patch; charset=US-ASCII; name=v1-0001-Fix-typo-in-create_index.sql.patchDownload+3-4
Dean Rasheed <dean.a.rasheed@gmail.com> 于2025年8月4日周一 22:10写道:
While looking at create_index.sql, I noticed the following:
--
-- Check handling of indexes on system columns
--
CREATE TABLE syscol_table (a INT);-- System columns cannot be indexed
CREATE INDEX ON syscolcol_table (ctid);which isn't testing what it claims to test because there's a typo in
the table name. Patch attached.
Good catch.
LGTM.
--
Thanks,
Tender Wang
On Mon, 4 Aug 2025 at 15:18, Tender Wang <tndrwang@gmail.com> wrote:
Dean Rasheed <dean.a.rasheed@gmail.com> 于2025年8月4日周一 22:10写道:
While looking at create_index.sql, I noticed the following:
which isn't testing what it claims to test because there's a typo in
the table name. Patch attached.Good catch.
LGTM.
Pushed. Thanks for looking.
Regards,
Dean