Re: DEFAULT in <set clause list>

From: Rod Taylor <rbt(at)rbt(dot)ca>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Neil Conway <neilc(at)samurai(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: DEFAULT in <set clause list>
Date: 2003-03-28 13:23:48
Message-ID: 1048857827.2014.20.camel@jester
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I'll look into it...

On Mon, 2003-03-24 at 20:14, Christopher Kings-Lynne wrote:
> > <set clause list> (the list of SET expressions in an UPDATE statement;
> > section 14.12) allows a <contextually typed value specification> on the
> > right-hand side of SET assignments. One of the possibilities for a
> > <contextually typed value specification> is DEFAULT (section 6.5).
> >
> > In other words, this syntax should be legal:
> >
> > UPDATE sometable SET somecolumn = DEFAULT;
> >
> > but it doesn't appear to be implemented as of CVS tip.
>
> Hmmm...I ran into a situation where I wanted that just the other day.
> INSERT INTO...SELECT FROM kind of thing...
>
> Chris
--
Rod Taylor <rbt(at)rbt(dot)ca>

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message mlw 2003-03-28 14:01:08 PostgreSQL and SOAP, version 7.4/8.0
Previous Message Lee Kindness 2003-03-28 09:37:08 ECPG thread-safety