From: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-admin@postgresql.org
Subject: Re: What's the XID?
Date: Thu, 27 Dec 2007 10:42:43 -0500
Message-ID: <20071227154243.GF8160@crankycanuck.ca> (raw)
In-Reply-To: <14508639.post@talk.nabble.com>
References: <14508639.post@talk.nabble.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: ajs@crankycanuck.ca
Subject: Re: What's the XID?
In-Reply-To: <20071227154243.GF8160@crankycanuck.ca>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox