Re: [SQL] Concurrency problem

2004-10-04 Thread Dag Gullberg
ode for a multi user environment. Its a blunder, pure and simple. I stand corrected (and wiser). Thanks! /Dag (apologies for sending this to you private address first) sön 2004-10-03 klockan 19.15 skrev Tom Lane: > Dag Gullberg <[EMAIL PROTECTED]> writes: > > Warning: pg_query

[SQL] Concurrency problem

2004-10-03 Thread Dag Gullberg
Hi, I have a problem with concurrency, where ordinary selects render me Warning: pg_query(): Query failed: ERROR: tuple concurrently updated CONTEXT: PL/pgSQL function "get_rights" line 5 at SQL statement in /home/site/PHP/db_func.php on line 301 Code of get_rights: GRANT SELECT