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:49:43
Message-ID: 199903172349.SAA21343@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Sorry for the igorance, but I'm not quite
> understanding. Assuming a new SERIAL type
> is made. What would be the difference
> between the new type and an OID?

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.

--
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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-03-17 23:54:28 Re: OID vs SERIAL? (Was: Re: [HACKERS] Sequences....)
Previous Message Clark Evans 1999-03-17 23:49:09 Re: OID vs SERIAL? (Was: Re: [HACKERS] Sequences....)