| От | Horst Herb |
|---|---|
| Тема | Re: nextval/dbi question |
| Дата | |
| Msg-id | 0108060902553H.02026@munin.gnumed.dhs.org обсуждение исходный текст |
| Ответ на | Re: nextval/dbi question (harrold@sage.che.pitt.edu) |
| Ответы |
Re: nextval/dbi question
|
| Список | pgsql-novice |
On Monday 06 August 2001 08:47, harrold@sage.che.pitt.edu wrote: > i was under the impression that nextval would give what the nextval would > be. i didnt think it was suppose to increment it. after reading your > response and someone else's it seems i need to get the next value of the > key and insert it explicitly is that correct? Yes. Alternatively, you can let Postgres use nextval implicitly, and call currval afterwards to get the value of the inserted "nextval" Horst
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера