'pg_class_aclcheck: relation <oid> not found' with temp tables in plpgsql
'pg_class_aclcheck: relation <oid> not found' with temp tables in plpgsql
От:
Reece Hart <rkh@gene.com>
Дата:
Cheers-
I'm getting warnings like this in a pl/pgsql function:
ERROR: pg_class_aclcheck: relation 32523241 not found
The function is (this is, obviously, just to demonstrate the problem):
create or replace function temptest() returns void
language plpgsql as '
DECLARE
m integer;
n integer;
BEGIN
FOR m IN 1..10 LOOP
create temp table less_than_m as
select distinct pseq_id from pseq where pseq_id