Thread: Another TODO: insert/update...returning

Another TODO: insert/update...returning

From
Philip Warner
Date:
You might want to add:
  insert/update...returning {[new.|old.]col [as name],...}

to TODO. I intend to do it eventually...


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.C.N. 008 659 498)             |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/


Re: Another TODO: insert/update...returning

From
Bruce Momjian
Date:
> 
> You might want to add:
> 
>    insert/update...returning {[new.|old.]col [as name],...}
> 
> to TODO. I intend to do it eventually...

Added:
* Allow INSERT/UPDATE to return new.col or old.col (Philip)

Seems like a nifty feature from Rdb.

Now you are immortalized on the TODO list.  :-)

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


Re: Another TODO: insert/update...returning

From
Philip Warner
Date:
At 22:27 27/07/00 -0400, Bruce Momjian wrote:
>
>Added:
>
>    * Allow INSERT/UPDATE to return new.col or old.col (Philip)
>
>Seems like a nifty feature from Rdb.

It's unbelievably useful, although the [old.|new.] was Jan's suggestion...

>Now you are immortalized on the TODO list.  :-)

I'd better avoid doing it then.


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.C.N. 008 659 498)             |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/


Re: Re: Another TODO: insert/update...returning

From
Tom Lane
Date:
>> Now you are immortalized on the TODO list.  :-)

> I'd better avoid doing it then.

I was just going to say "what, only until he actually does it?"
        regards, tom lane


Re: Re: Another TODO: insert/update...returning

From
Bruce Momjian
Date:
> >> Now you are immortalized on the TODO list.  :-)
> 
> > I'd better avoid doing it then.
> 
> I was just going to say "what, only until he actually does it?"

Well, we assign it to him so he can answer questions about the feature,
and perhaps implement it.  At this point, he is the contact man on it.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026