Re: [HACKERS] UPDATE ... SET = DEFAULT

2003-06-08 Thread Rod Taylor
On Thu, 2003-06-05 at 16:45, Tom Lane wrote: > Rod Taylor <[EMAIL PROTECTED]> 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 p

Re: [HACKERS] UPDATE ... SET = DEFAULT

2003-06-08 Thread Tom Lane
Rod Taylor <[EMAIL PROTECTED]> 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(