Re: Ask ctid

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Ask ctid
Дата
Msg-id 20080306125035.GB12104@svana.org
обсуждение исходный текст
Ответ на Ask ctid  (Achmad Nizar Hidayanto <nizar@cs.ui.ac.id>)
Список pgsql-general
On Thu, Mar 06, 2008 at 05:40:00PM +0700, Achmad Nizar Hidayanto wrote:
> Dear all,
>
> I implement database in my faculty using Postgre. I have a problem
> with ctid in my tables. Let say, i have table STUDENT with #STU
> as the primary key. I don't know what happend in this table, some
> rows have exactly the same value ( i also have set the #STU as unique).
> After tracing the table,  i found that the two rows differ in ctid value.
> As the impact, my application cannot operate well.

You need to provide way more information. Your description is kinda
vague. Why are youusing the ctid any, it's not a stable identifier for
a row...

Please show us actual output from psql showing your problem and the
definitions of your tables.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.

Вложения

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

Предыдущее
От: Achmad Nizar Hidayanto
Дата:
Сообщение: Ask ctid
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Ask ctid