Re: DEFAULT of domain ignored in plpgsql (8.4.1) - Mailing list pgsql-hackers

From Florian G. Pflug
Subject Re: DEFAULT of domain ignored in plpgsql (8.4.1)
Date
Msg-id 4B06D736.2080306@phlo.org
Whole thread Raw
In response to Re: DEFAULT of domain ignored in plpgsql (8.4.1)  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: DEFAULT of domain ignored in plpgsql (8.4.1)
List pgsql-hackers
Robert Haas wrote:
> On Thu, Nov 19, 2009 at 9:06 PM, Florian G. Pflug <fgp@phlo.org> wrote:
>> I've tried to create a patch, but didn't see how I'd convert the result
>> from get_typedefault() (A Node*, presumeably the parsetree corresponding
>> to the default expression?) into a plan that I could store in a
>> PLpgSQL_expr. I guess I'd need something like SPI_prepare_plan that
>> takes a parse tree instead of a query string. Or am I on a completely
>> wrong track there?
>>
>> While trying to cook up a patch I've also stumbled over what I perceive
>> as a bug relating to DOMAINS and column DEFAULTs. I'll write that up in
>> a second E-Mail to avoid confusion.
> 
> I suggest adding this to the open CommitFest (2010-01) at
> https://commitfest.postgresql.org/action/commitfest_view/open

Hm, but I don't (yet) have a patch to add...

best regards,
Florian Pflug


pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Summary and Plan for Hot Standby
Next
From: Robert Haas
Date:
Subject: Re: DEFAULT of domain ignored in plpgsql (8.4.1)