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

From: Don Baccus <dhogaza(at)pacifier(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>, PostgreSQL Development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Happy column adding (was RE: [HACKERS] Happy column dropping)
Date: 2000-01-25 19:05:43
Message-ID: 3.0.1.32.20000125110543.00f82ec0@mail.pacifier.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)pacifier(dot)com>
Nature photos, on-line guides, Pacific Northwest
Rare Bird Alert Service and other goodies at
http://donb.photo.net.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Don Baccus 2000-01-25 19:20:01 Re: Happy column adding (was RE: [HACKERS] Happy column dropping)
Previous Message Don Baccus 2000-01-25 19:03:15 Re: Happy column adding (was RE: [HACKERS] Happy column dropping)