Re: How to set the global OID counter? COPY WITH OIDS does not set global OID counter?

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Dirk Lutzebäck <lutzeb@aeccom.com>, pgsql-admin@postgresql.org, pgsql-general@postgresql.org, pgsql-bugs@postgresql.org
Date: 2006-06-09T14:26:39Z
Lists: pgsql-bugs
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Dirk Lutzebck 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