Re: Return the primary key of a newly inserted row?

Поиск
Список
Период
Сортировка
От Kenneth Downs
Тема Re: Return the primary key of a newly inserted row?
Дата
Msg-id 449A7E56.7020100@secdat.com
обсуждение исходный текст
Ответ на Re: Return the primary key of a newly inserted row?  (Tim Allen <tim@proximity.com.au>)
Ответы Re: Return the primary key of a newly inserted row?  (Scott Ribe <scott_ribe@killerbytes.com>)
Список pgsql-general
Tim Allen wrote:

>
> using syntax along the lines of INSERT ... RETURNING ...
>
SQL Server had a nifty feature here.  You could simply toss a SELECT
statement at the end of a trigger of sproc and the results would be
returned.

This in effect made a table the potential return type of all commands,
which could be exploited very powerfully.

Do the hackers have any thoughts along those lines?

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Kenneth Downs
Дата:
Сообщение: Re: Return the primary key of a newly inserted row?
Следующее
От: Kenneth Downs
Дата:
Сообщение: Re: Form builder?