Typo in create_index regression test

Поиск
Список
Период
Сортировка
Искать

Typo in create_index regression test

От:
Dean 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

Re: Typo in create_index regression test

От:
Tender Wang <tndrwang@gmail.com>
Дата:


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

Re: Typo in create_index regression test

От:
Dean Rasheed <dean.a.rasheed@gmail.com>
Дата:
On Mon, 4 Aug 2025 at 15:18, Tender Wang  wrote:
>
> Dean Rasheed  于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


FAQ