Insert..returning (was Re: Re: postgres TODO) - Mailing list pgsql-hackers

From Philip Warner
Subject Insert..returning (was Re: Re: postgres TODO)
Date
Msg-id 3.0.5.32.20000712095452.01e34320@mail.rhyme.com.au
Whole thread Raw
In response to Re: Re: postgres TODO  (Philip Warner <pjw@rhyme.com.au>)
Responses Re: Insert..returning (was Re: Re: postgres TODO)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
At 00:21 12/07/00 +1000, Philip Warner wrote:
>
>Well, not wanting to sound too much like a broken record, 
>
>    insert...returning... 
>
>would seem to fix the problem.
>
>Is there some obvious (to anyone who knows something about pg internals)
>reason why this is *not* a good idea?
>

Putting this another way, does anyone object to this being implemented, *at
least* in the case of single row updates?

Secondly, can anyone suggest likely problems that would occur in a naieve
'do a select after an insert' or 'keep a list of affected oids' approach?


----------------------------------------------------------------
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   |/


pgsql-hackers by date:

Previous
From: JanWieck@t-online.de (Jan Wieck)
Date:
Subject: Re: update on TOAST status'
Next
From: Peter Eisentraut
Date:
Subject: Re: pg_backup symlink?