Re: UPDATE ... SET = DEFAULT

From: Rod Taylor <rbt(at)rbt(dot)ca>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: UPDATE ... SET = DEFAULT
Date: 2003-06-05 20:50:20
Message-ID: 1054846219.11848.0.camel@jester
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 2003-06-05 at 16:45, Tom Lane wrote:
> Rod Taylor <rbt(at)rbt(dot)ca> writes:
> > It would seem a new primnode (change InsertDef into SetDefault or
> > similar) will be required with some executor logic.
>
> It is not the executor's business to know about defaults. The rewriter
> is the place where defaults get inserted - see rewriteTargetList().

Ahh, thanks. I was fairly sure I had the wrong spot.

--
Rod Taylor <rbt(at)rbt(dot)ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2003-06-05 21:15:18 Re: default locale considered harmful? (was Re: [GENERAL]
Previous Message Tom Lane 2003-06-05 20:45:47 Re: UPDATE ... SET = DEFAULT