Re: [BUGS] BUG #1290: Default value and ALTER...TYPE - Mailing list pgsql-hackers

From Dennis Bjorklund
Subject Re: [BUGS] BUG #1290: Default value and ALTER...TYPE
Date
Msg-id Pine.LNX.4.44.0410241310030.2015-100000@zigo.dhs.org
Whole thread Raw
In response to Re: [BUGS] BUG #1290: Default value and ALTER...TYPE  (Neil Conway <neilc@samurai.com>)
List pgsql-hackers
On Sun, 24 Oct 2004, Neil Conway wrote:

> (1) Accept the default's raw parsetree from the parser
> (2) Convert it to a cooked parsetree via transformExpr()
> (3) Add a coercion to the table's column type
> 
> Can't we save the cooked parsetree that we produced in #2?

One could even save the string as it was before parsning if one wants to 
(could make it easier to edit in a graphical client like pgadmin3).

-- 
/Dennis Björklund



pgsql-hackers by date:

Previous
From: Neil Conway
Date:
Subject: Re: [BUGS] BUG #1290: Default value and ALTER...TYPE
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #1290: Default value and ALTER...TYPE