Re: What's the XID?

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: What's the XID?
Дата
Msg-id 20071227154243.GF8160@crankycanuck.ca
обсуждение исходный текст
Ответ на What's the XID?  ("ivan.hou" <ivan.hou@msa.hinet.net>)
Ответы Re: What's the XID?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: What's the XID?  ("ivan.hou" <ivan.hou@msa.hinet.net>)
Список pgsql-admin
On Wed, Dec 26, 2007 at 05:48:14PM -0800, ivan.hou wrote:
>
> XID is transcation ID?

Yes.

> so, "select * from mydb" is a transcation?

Yes.

> if i executed "select * from mydb" twice, the XID wil be increased by 2

Yep.  Whereas if you did

    BEGIN;
    SELECT 1;
    SELECT 1;
    COMMIT;

the xid would be increased by 1.

A

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

Предыдущее
От: "ivan.hou"
Дата:
Сообщение: What's the XID?
Следующее
От: "George, Harry G"
Дата:
Сообщение: high-availability on MS Windows cluster -- need insights