Re: New default ignored by pre-exising insert rulesets.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Arguile <arguile(at)lucentstudios(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: New default ignored by pre-exising insert rulesets.
Date: 2001-11-02 20:42:43
Message-ID: 325.1004733763@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

I said:
> Arguile <arguile(at)lucentstudios(dot)com> writes:
>> If a table field is altered to add a default, the default value is
>> bypassed by pre-existing rules.

> I believe the best fix for this is to move default-insertion out of the
> parser and do it during planning, instead

I have committed fixes for this into the 7.2 sources.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message herolin116 2001-11-03 03:30:44 The data of pg_dump has cr/lf character....
Previous Message Michael Meskes 2001-11-02 19:40:19 Re: recent ECPG 7.1->7.2 incompatibility ( interval('0sec') = syntax error )

Browse pgsql-hackers by date

  From Date Subject
Next Message Serguei Mokhov 2001-11-02 21:16:54 Re: checking things over ...
Previous Message tgl 2001-11-02 18:39:57 pgsql/ oc/src/sgml/client-auth.sgml oc/src/sgm ...