Re: Extended SERIAL parsing

From: Zoltan Boszormenyi <zboszor(at)dunaweb(dot)hu>
To: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Extended SERIAL parsing
Date: 2006-06-12 18:32:55
Message-ID: 448DB357.7080500@dunaweb.hu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Jim C. Nasby írta:
> On Mon, Jun 12, 2006 at 02:27:31PM +0200, B?sz?rm?nyi Zolt?n wrote:
>
>>> Zoltan Boszormenyi <zboszor(at)dunaweb(dot)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.
>>>
>> Well, I read all sections of 5WD-02-Foundation-2003-09.pdf
>> where "identity" appears, here are the list of changes that will
>> be needed for an identity column:
>>
>
> Have you read the archives on the recent discussions that have taken
> place about whether SERIAL should be a black box or not? IIRC most of
> this was all hashed out in that thread.

I just read it thoroughly, and the issues I listed wasn't mentioned
in the "black box" thread, at all. I am trying to implement the
standard syntax ( and gradually the conformant behaviour )
along the lines of sections 4.14.7, 11.3, 11.4, 11.7, 11.11,
11.12, 11.17 and 14.8.

Best regards,
Zoltán Böszörményi

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2006-06-12 19:00:13 Re: TODO: Add pg_get_acldef(), pg_get_typedefault(), pg_get_attrdef(),
Previous Message Tom Lane 2006-06-12 18:31:34 Re: TODO: Add pg_get_acldef(), pg_get_typedefault(),