Re: Re: [COMMITTERS] pgsql: Fix brain fade in DefineIndex(): it was continuing to access the

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Re: [COMMITTERS] pgsql: Fix brain fade in DefineIndex(): it was continuing to access the
Дата
Msg-id 20070902224957.GC20519@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Re: [COMMITTERS] pgsql: Fix brain fade in DefineIndex(): it was continuing to access the  (ohp@pyrenet.fr)
Ответы Re: Re: [COMMITTERS] pgsql: Fix brain fade in DefineIndex(): it was continuing to access the  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
ohp@pyrenet.fr wrote:
> Hi Tom and Andrew,
> 
> On Thu, 30 Aug 2007, Tom Lane wrote:
> 
> While waiting for my application for another animal, I made some tests and
> was surprised that cluster test failed with an ordering error.

This is running with CLOBBER_CACHE_ALWAYS set, right?  I think it is
quite possible that an autovacuum came and processed the catalog,
leading to different ordering.

> Maybe an ORDER BY is missing in the test query.

Yeah, an ORDER BY should be enough.

>   SELECT conname FROM pg_constraint WHERE conrelid = 'clstr_tst'::regclass;
>       conname
>   ----------------
> -  clstr_tst_pkey
>    clstr_tst_con
>   (2 rows)
> 
>   SELECT relname, relkind,
> --- 252,259 ----
>   SELECT conname FROM pg_constraint WHERE conrelid = 'clstr_tst'::regclass;
>       conname
>   ----------------
>    clstr_tst_con
> +  clstr_tst_pkey
>   (2 rows)


-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: tsearch filenames unlikes special symbols and numbers
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: tsearch filenames unlikes special symbols and numbers