X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 53DCED1B45A for ; Sat, 29 Nov 2003 19:29:32 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 48819-03 for ; Sat, 29 Nov 2003 15:29:11 -0400 (AST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 3F0B3D1B4D0 for ; Sat, 29 Nov 2003 15:29:04 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id hATJT919008536; Sat, 29 Nov 2003 14:29:09 -0500 (EST) To: Christopher Browne Cc: pgsql-admin@postgresql.org Subject: Re: pg_restore and transaction id wraparound In-reply-to: References: <20031128211125.1938.qmail@web21407.mail.yahoo.com> Comments: In-reply-to Christopher Browne message dated "Fri, 28 Nov 2003 17:08:48 -0500" Date: Sat, 29 Nov 2003 14:29:09 -0500 Message-ID: <8535.1070134149@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/519 X-Sequence-Number: 11506 Christopher Browne 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