Re: Insane behaviour in 8.3.3

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Insane behaviour in 8.3.3
Дата
Msg-id 4FDAD768.4040409@archonet.com
обсуждение исходный текст
Ответ на Insane behaviour in 8.3.3  (Achilleas Mantzios <achill@matrix.gatewaynet.com>)
Ответы Re: Insane behaviour in 8.3.3  (Achilleas Mantzios <achill@matrix.gatewaynet.com>)
Список pgsql-sql
On 14/06/12 09:39, Achilleas Mantzios wrote:
> dynacom=# SELECT id from items_tmp WHERE id=1261319 AND xid=61972;
>     id
> ---------
>   1261319
> (1 row)
> dynacom=# -- ok this is how it should be
> dynacom=# SELECT id from items_tmp WHERE id=1261319 AND xid=currval('xadmin_xid_seq');
>   id
> ----
> (0 rows)
> dynacom=# -- THIS IS INSANE

Perhaps just do an EXPLAIN ANALYSE on both of those. If for some reason 
one is using the index and the other isn't then it could be down to a 
corrupted index. Seems unlikely though.

--   Richard Huxton  Archonet Ltd


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Insane behaviour in 8.3.3
Следующее
От: Robert Edwards
Дата:
Сообщение: Re: Insane behaviour in 8.3.3