Re: [SQL] Tuple insert missing query in ongoing transaction

2005-08-24 Thread Szűcs Gábor
Dear DAQ, Thanks for the native answer ;) For those who have concerns reading Hungarian, here is an excerpt including my answer. You adviced me to issue an ACCESS EXCLUSIVE lock on table "shift" in transaction B, before issuing the actual insert, so that the insert will wait till the end of

[SQL] Tuple insert missing query in ongoing transaction

2005-08-23 Thread Szűcs Gábor
Dear Gurus, I know this is the typical case of transaction use, I just seem to lack the appropriate education of what exactly happens and whether I may be able to detect it. I have two queries, one affecting the other. 1. INSERT INTO barcode. A BEFORE INSERT/UPDATE trigger checks if there's