Re: Happy column adding (was RE: [HACKERS] Happy column dropping)

Don Baccus <dhogaza@pacifier.com>

From: Don Baccus <dhogaza@pacifier.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Eisentraut <peter_e@gmx.net>, Hiroshi Inoue <Inoue@tpf.co.jp>, PostgreSQL Development <pgsql-hackers@postgreSQL.org>
Date: 2000-01-25T19:05:43Z
Lists: 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 Service and other goodies at
  http://donb.photo.net.