Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-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

pgsql-hackers by date

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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group