Re: select first occurrence of a table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: select first occurrence of a table
Дата
Msg-id 2503.1051909609@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: select first occurrence of a table  (Erik Ronström <kvarken@yahoo.com>)
Список pgsql-general
=?iso-8859-1?q?Erik=20Ronstr=F6m?= <kvarken@yahoo.com> writes:
> If the table has OIDs (which is the default), you can use the OID as a
> unique identifier for a row.

You could also use CTID in the same way; this works on all tables.
It does require that no one else is trying to update the same row at
about the same time, though.

            regards, tom lane


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

Предыдущее
От: Erik Ronström
Дата:
Сообщение: Re: Connection closed
Следующее
От: "Bob Krus"
Дата:
Сообщение: PostgreSQL Inquiry