Re: serial type (text instead of integer) and duplicate keys

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: serial type (text instead of integer) and duplicate keys
Дата
Msg-id 15491.1113315467@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: serial type (text instead of integer) and duplicate keys  (Carlos Costa <ccosta@gmail.com>)
Список pgsql-general
Carlos Costa <ccosta@gmail.com> writes:
> SELECT oid,xmin,xmax,ctid,id FROM articles WHERE id=391;
>    oid   |   xmin    |   xmax    |   ctid   | id
> ---------+-----------+-----------+----------+-----
>  3032469 | 152691945 | 152886684 |  (104,6) | 391
>  3032469 | 152886687 | 156995994 | (104,13) | 391
> (2 rows)

Could we see cmin,cmax as well?

Since the OID is the same, these are evidently two versions of the same
row; somehow one of them didn't get marked dead when the other one was
created.  What patterns of updating do you use on this table?  Any
SELECT FOR UPDATE?

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Question about Large Objects
Следующее
От: "Jeff Eckermann"
Дата:
Сообщение: Re: Crystal reports 9 fails to recognise data on upgrade to 8.0.1