From: Tom Lane <tgl@sss.pgh.pa.us>
To: Christopher Browne <cbbrowne@acm.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_restore and transaction id wraparound
Date: Sat, 29 Nov 2003 14:29:09 -0500
Message-ID: <8535.1070134149@sss.pgh.pa.us> (raw)
In-Reply-To: <m38ym0tabz.fsf@wolfe.cbbrowne.com>
References: <20031128211125.1938.qmail@web21407.mail.yahoo.com>
<m38ym0tabz.fsf@wolfe.cbbrowne.com>
Christopher Browne <cbbrowne@acm.org> writes:
> - If you type in BEGIN;, then you could have 10 billion SQL
> statements after that, and they would, altogether, consume 1 xid.
Actually you can only have 4 billion SQL commands per xid, because the
CommandId datatype is also just 32 bits. I've never heard of anyone
running into that limit, though.
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, cbbrowne@acm.org
Subject: Re: pg_restore and transaction id wraparound
In-Reply-To: <8535.1070134149@sss.pgh.pa.us>
References: <20031128211125.1938.qmail@web21407.mail.yahoo.com> <m38ym0tabz.fsf@wolfe.cbbrowne.com> <8535.1070134149@sss.pgh.pa.us>
* 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