X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id D2D089F9316; Fri, 9 Jun 2006 11:26:51 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 43624-03; Fri, 9 Jun 2006 11:26:47 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- X-Greylist: from auto-whitelisted by SQLgrey- X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 816839FA61D; Fri, 9 Jun 2006 11:26:47 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k59EQdXQ009781; Fri, 9 Jun 2006 10:26:39 -0400 (EDT) To: Alvaro Herrera cc: Dirk =?iso-8859-1?Q?Lutzeb=E4ck?= , pgsql-admin@postgresql.org, pgsql-general@postgresql.org, pgsql-bugs@postgresql.org Subject: Re: How to set the global OID counter? COPY WITH OIDS does not set global OID counter? In-reply-to: <20060609140015.GF19659@surnet.cl> References: <448976E3.50209@aeccom.com> <20060609140015.GF19659@surnet.cl> Comments: In-reply-to Alvaro Herrera message dated "Fri, 09 Jun 2006 10:00:15 -0400" Date: Fri, 09 Jun 2006 10:26:39 -0400 Message-ID: <9780.1149863199@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/70 X-Sequence-Number: 22032 Alvaro Herrera writes: > Dirk Lutzebäck wrote: >> how can one set the global OID counter in 8.1.X? We think it would work >> in 8.0.X using the COPY WITH OIDS command but this does not work in >> 8.1.X anymore. > pg_resetxlog -o > (Postmaster stopped of course) Possibly more to the point: why do you think you need to mess with the counter? 8.1 is smart enough not to assign conflicting OIDs to large objects. regards, tom lane