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

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: clark(dot)evans(at)manhattanproject(dot)com (Clark Evans)
Cc: tgl(at)sss(dot)pgh(dot)pa(dot)us, pgsql-hackers(at)postgreSQL(dot)org, rbrad(at)hpb50023(dot)boi(dot)hp(dot)com
Subject: Re: OID vs SERIAL? (Was: Re: [HACKERS] Sequences....)
Date: 1999-03-17 23:54:28
Message-ID: 199903172354.SAA21450@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Bruce Momjian wrote:
> > It would only mark the the column as an OID that is used for Serial.
> > The same thing with large objects, so it is an oid, and used for large
> > objects. It allows pg_dump and other programs to understand the use of
> > the oid.
>
> So, the serial column and the OID column would be one and
> the same? Why is there a sequence problem then?

It just marks the oid column as being a serial column. We also have
atttypmod, and could easily use that for marking oid's used for serial,
and those used for large objects. Would be nice.

--
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 00:12:51 atttypmod usage
Previous Message Bruce Momjian 1999-03-17 23:49:43 Re: OID vs SERIAL? (Was: Re: [HACKERS] Sequences....)