| От | Andrew Dunstan |
|---|---|
| Тема | Re: lastval() |
| Дата | |
| Msg-id | 428128DA.1050101@dunslane.net обсуждение исходный текст |
| Ответ на | Re: lastval() (Heikki Linnakangas <hlinnaka@iki.fi>) |
| Список | pgsql-patches |
Heikki Linnakangas wrote: > On Mon, 9 May 2005, Dennis Bjorklund wrote: > >> The thing is that I don't care how it's implemented, it's the feature >> itself that is more importent to decide if we want it or not. I'm >> sure the >> code can be fixed so everybody is happy it in the end, > > > You could implement this on top of the current nextval without backend > changes. > > Create a wrapper function on top of nextval that stores the value in a > temp table. Or a session variable if your PL language of choice has them. > > lastval would do a select on the temp table. > > And this is making life easier for anybody? I don't think so. cheers andrew
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера