Re: OID vs SERIAL? (Was: Re: [HACKERS] Sequences....) - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: OID vs SERIAL? (Was: Re: [HACKERS] Sequences....)
Date
Msg-id 199903172349.SAA21343@candle.pha.pa.us
Whole thread Raw
In response to OID vs SERIAL? (Was: Re: [HACKERS] Sequences....)  (Clark Evans <clark.evans@manhattanproject.com>)
List 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@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Clark Evans
Date:
Subject: OID vs SERIAL? (Was: Re: [HACKERS] Sequences....)
Next
From: Clark Evans
Date:
Subject: Re: OID vs SERIAL? (Was: Re: [HACKERS] Sequences....)