Re: OID vs SERIAL? (Was: Re: [HACKERS] Sequences....)

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane)
Cc: clark(dot)evans(at)manhattanproject(dot)com, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: OID vs SERIAL? (Was: Re: [HACKERS] Sequences....)
Date: 1999-03-18 05:16:43
Message-ID: 199903180516.AAA24535@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
> I think it'd still be a good idea to have a system table containing the
> mapping from SERIAL columns to (OIDs of) their associated sequences.
> The atttypmod idea is just a trick to bypass having to do lookups in
> this table for the most common operations on a SERIAL column.

But what use would a new system table be, if the atttypmod can do it for
us?

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-03-18 05:19:28 Re: [HACKERS] One more globe
Previous Message i love lesbians 1999-03-18 05:09:38 hotmail