| От | Arguile |
|---|---|
| Тема | Re: How to check for successfull inserts |
| Дата | |
| Msg-id | LLENKEMIODLDJNHBEFBOOEJAEFAA.arguile@lucentstudios.com обсуждение исходный текст |
| Ответ на | Re: How to check for successfull inserts ("Arguile" <arguile@lucentstudios.com>) |
| Ответы |
Re: How to check for successfull inserts
|
| Список | pgsql-general |
Arguile mistakenly wrote: > > The only other thing I can think of off the top of my head is to > count(*) the table in question before and after and return the > difference. As you're within a transaction it will be accurate, > if rather unwieldy. *Danger! Danger Will Robinson!* I wasn't thinking properly when I typed this. For the count(*) to be guaranteed accurate you would have to lock the table in at least a SHARE MODE level lock. Probably not what you want.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера