| От | Oliver Elphick |
|---|---|
| Тема | Re: performance issue using DBI |
| Дата | |
| Msg-id | 1023380046.26291.2977.camel@linda обсуждение исходный текст |
| Ответ на | Re: performance issue using DBI ("Joshua b. Jore" <josh@greentechnologist.org>) |
| Ответы |
Re: performance issue using DBI
Re: [ADMIN] performance issue using DBI |
| Список | pgsql-general |
On Thu, 2002-06-06 at 14:55, Joshua b. Jore wrote:u > Don't use currval since some other process might alter the > sequence between the time you call nextval and currval. This is wrong. currval() will always return the last serial assigned in *the*same*session*. It is not affected by other users at all. -- Oliver Elphick Oliver.Elphick@lfix.co.uk Isle of Wight http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Therefore being justified by faith, we have peace with God through our Lord Jesus Christ." Romans 5:1
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера