| От | Gregory Stark |
|---|---|
| Тема | Re: a few questions (and doubts) about xid |
| Дата | |
| Msg-id | 87wswn1t08.fsf@oxford.xeocode.com обсуждение исходный текст |
| Ответ на | Re: a few questions (and doubts) about xid (Alvaro Herrera <alvherre@commandprompt.com>) |
| Список | pgsql-general |
"Alvaro Herrera" <alvherre@commandprompt.com> writes: > Gregory Stark wrote: > >> > Just for confirmation: the relfrozenxid of a fresh table is the xid of the >> > transaction that created it, isn't it? >> >> Yes, easily enough checked: >> >> postgres=# create table xyz (i integer); >> CREATE TABLE >> postgres=# select xmin,relfrozenxid from pg_class where relname = 'xyz'; > > No it's not. It's the XID of the earliest transaction that was open at > the time you created the table (known as RecentXid). Mea culpa. That's a pretty obvious error too; I should have thought more before sending that message. -- Gregory Stark EnterpriseDB http://www.enterprisedb.com
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера