Re: [PATCH] Fix select from wrong table array_op_test - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: [PATCH] Fix select from wrong table array_op_test
Date
Msg-id 388609f1-fbd9-05b3-801c-513256b5903e@iki.fi
Whole thread Raw
In response to Re: [PATCH] Fix select from wrong table array_op_test  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCH] Fix select from wrong table array_op_test
List pgsql-hackers
On 11/06/2021 18:31, Tom Lane wrote:
> Jason Kim <git@jasonk.me> writes:
>> In the middle of GIN index testing, there are some selects that are on
>> a different table array_op_test that doesn't even have an index.  They
>> probably were supposed to be selects to table array_index_op_test like
>> the other ones around the area.
> 
> I think it's probably intentional, else why have two tables at all?
> I suppose the point of these test cases is to confirm that you get the
> same results with or without use of an index.

We already have these same queries in the 'arrays' test against the 
'array_op_test' table, though. It sure looks like a copy-paste error to 
me as well.

- Heikki




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] Fix select from wrong table array_op_test
Next
From: Fujii Masao
Date:
Subject: Re: Transactions involving multiple postgres foreign servers, take 2