Typo in create_index regression test

Started by Dean Rasheedover 1 year ago3 messageshackers
Jump to latest
#1Dean Rasheed
dean.a.rasheed@gmail.com

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
#2Tender Wang
tndrwang@gmail.com
In reply to: Dean Rasheed (#1)
Re: Typo in create_index regression test

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

#3Dean Rasheed
dean.a.rasheed@gmail.com
In reply to: Tender Wang (#2)
Re: Typo in create_index regression test

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