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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: OID vs SERIAL? (Was: Re: [HACKERS] Sequences....)
Дата
Msg-id 199903172354.SAA21450@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: OID vs SERIAL? (Was: Re: [HACKERS] Sequences....)  (Clark Evans <clark.evans@manhattanproject.com>)
Список 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@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 по дате отправления:

Предыдущее
От: Clark Evans
Дата:
Сообщение: Re: OID vs SERIAL? (Was: Re: [HACKERS] Sequences....)
Следующее
От: Bruce Momjian
Дата:
Сообщение: atttypmod usage