Skip site navigation (1) Skip section navigation (2)

Re: pgsql/src/backend/commands sequence.c

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql/src/backend/commands sequence.c
Date: 2002-01-11 20:44:18
Message-ID: 1201.1010781858@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-committers
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Oh.  Is that good?  If we set the sequence xid as frozen, how do we
> rollback a sequence creation?

If we roll back a sequence creation, the whole table goes away.
Conversely, even if we commit, no one can see the sequence until they
can see the pg_class entry for it.  Thus, it doesn't matter what's in
the tuple.

			regards, tom lane

In response to

Responses

pgsql-committers by date

Next:From: Bruce MomjianDate: 2002-01-11 20:47:33
Subject: Re: pgsql/src/backend/commands sequence.c
Previous:From: momjianDate: 2002-01-11 20:34:15
Subject: pgsql/ oc/src/sgml/ref/pg_upgrade.sgml rc/bin/ ...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group