Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.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.
OK, so you are using the pg_class visibility/destuction as an
optimitation to prevent vacuum of sequences --- sounds fine.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026