Re: Happy column adding (was RE: [HACKERS] Happy column dropping) - Mailing list pgsql-hackers

From Don Baccus
Subject Re: Happy column adding (was RE: [HACKERS] Happy column dropping)
Date
Msg-id 3.0.1.32.20000125110543.00f82ec0@mail.pacifier.com
Whole thread Raw
In response to Re: Happy column adding (was RE: [HACKERS] Happy column dropping)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
At 12:39 PM 1/25/00 -0500, Tom Lane wrote:

>> There's no provision for then pulling out the default value and
>> returning it instead.
>
>Would it even be possible to do that?  I'm not sure that heap_getattr
>has any way to find the default.  It only has a TupleDesc, not a
>reference to the relation itself...

In that case, then presumably not.  You've just pushed me beyond
the limits of my understanding of that code, I'm afraid!




- Don Baccus, Portland OR <dhogaza@pacifier.com> Nature photos, on-line guides, Pacific Northwest Rare Bird Alert
Serviceand other goodies at http://donb.photo.net.
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Happy column adding (was RE: [HACKERS] Happy column dropping)
Next
From: Don Baccus
Date:
Subject: Re: Happy column adding (was RE: [HACKERS] Happy column dropping)