Re: Insert..returning (was Re: Re: postgres TODO)
От | darcy@druid.net (D'Arcy J.M. Cain) |
---|---|
Тема | Re: Insert..returning (was Re: Re: postgres TODO) |
Дата | |
Msg-id | m13CIav-000AXOC@druid.net обсуждение исходный текст |
Ответ на | Re: Insert..returning (was Re: Re: postgres TODO) (Philip Warner <pjw@rhyme.com.au>) |
Ответы |
Re: Insert..returning (was Re: Re: postgres TODO)
|
Список | pgsql-hackers |
Thus spake Philip Warner > > Not to mention the juicy topics of access permissions and > >possible errors. > > Can't one fall back here on the 'insert followed by select' analogy? Or is > there a specific example that you have in mind? I think the thing he has in mind is the situation where one has insert perms but not select. The decision is whether to have the insert fail if the select fails. Or, do you allow the (virtual) select in this case since it is your own inserted row you are trying to read? -- D'Arcy J.M. Cain <darcy@{druid|vex}.net> | Democracy is three wolves http://www.druid.net/darcy/ | and a sheep voting on +1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
В списке pgsql-hackers по дате отправления: