get id of insert in plpgsql function

Поиск
Список
Период
Сортировка
От A B
Тема get id of insert in plpgsql function
Дата
Msg-id dbbf25900805220056n7826a97ek576095a3e9372b99@mail.gmail.com
обсуждение исходный текст
Ответы Re: get id of insert in plpgsql function
Список pgsql-novice
If I have a table mytable (id serial, y integer)  and wish to insert a
row into the table in a plpgsql function, how can I catch the id
(serial number) of the last inserted row?

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

Предыдущее
От: "G. J. Walsh"
Дата:
Сообщение: recreating tables from global files
Следующее
От: "A. Kretschmer"
Дата:
Сообщение: Re: get id of insert in plpgsql function