"Andrus" <kobruleht2@xxxxxx> writes: > My application receives the folllowing error sometimes. > 7/XX000:Error while executing the query;ERROR: tuple concurrently updated > CONTEXT: SQL statement "DROP TABLE templsabi"PL/pgSQL function "drop_table" > line 2 at execute statement That's a bit interesting ... what PG version is this exactly? What else might be touching that table at the same time? Do you have autovacuum enabled? regards, tom lane