| От | Michael Fuhr |
|---|---|
| Тема | Re: Issue with UPDATE statement on v8 |
| Дата | |
| Msg-id | 20050923133021.GA72851@winnie.fuhr.org обсуждение исходный текст |
| Ответ на | Issue with UPDATE statement on v8 ("Kenneth Hutchinson" <kenneth.hutchinson@mpfyieldstar.com>) |
| Список | pgsql-sql |
On Thu, Sep 22, 2005 at 11:22:22AM -0500, Kenneth Hutchinson wrote: > UPDATE t_summary > SET availability = 7 > WHERE oid = 28245084 > > When this query is executed (within a function or without) the database > will simply hang. If the UPDATE is turned into a SELECT, the query > works just fine. One possibility is that another transaction has updated this row or done a SELECT FOR UPDATE and hasn't committed yet. Does just this one record cause the update to hang or do all updates to the table hang? Have you queried pg_locks in another session while the update is hung? -- Michael Fuhr
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера