Re: Extended SERIAL parsing

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Extended SERIAL parsing
Дата
Msg-id 28444.1150070050@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Extended SERIAL parsing  (Zoltan Boszormenyi <zboszor@dunaweb.hu>)
Ответы Re: Extended SERIAL parsing  (Böszörményi Zoltán <zboszor@dunaweb.hu>)
Список pgsql-hackers
Zoltan Boszormenyi <zboszor@dunaweb.hu> writes:
> after some experimentation, I came up with the attached patch,
> which implements parsing the following SERIAL types:

As has been pointed out before, it would be a seriously bad idea to
implement the SQL syntax for identity columns without matching the
SQL semantics for them.  That would leave us behind the eight-ball
when we wanted to implement the SQL semantics.  Right now we have
a useful but non-standard semantics, and a useful but non-standard
syntax, and those two should stick together.

I'm not too happy with converting SERIAL4 and SERIAL8 into reserved
words, either, as I believe this patch does.

Some other things missing are documentation and pg_dump support.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: TODO: Add pg_get_acldef(), pg_get_typedefault(), pg_get_attrdef(),
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: TODO: Add pg_get_acldef(), pg_get_typedefault(), pg_get_attrdef(),