| От | Ross J. Reedstrom |
|---|---|
| Тема | Re: [GENERAL] How to get seq after insert |
| Дата | |
| Msg-id | 371CB104.E6195771@rice.edu обсуждение исходный текст |
| Ответ на | RE: [GENERAL] How to get seq after insert (Michael J Davis <michael.j.davis@tvguide.com>) |
| Список | pgsql-general |
Hmm, Ross needs to break for lunch - his brain is runing out of glucose! Ross J. Reedstrom wrote: > > No, as Herouth pointed out, currval is multiuser-safe: it returns the > last value given in the current session, and every user get's their own gets > session. I just tried it out in two psql sessions to a test sequence - > no matter how many calls to nextval I do in one window, the currval in > each gives the write answer. right or correct Ross -- Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu> NSBRI Research Scientist/Programmer Computer and Information Technology Institute Rice University, 6100 S. Main St., Houston, TX 77005
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера