"Stephen Shorrock" <smsh@bas.ac.uk> writes:
> Thanks for your response Tom,
> I thought that you might like to know I've implemented you idea of using idcol SERIAL PRIMARY KEY, which is a really
goodtip. Although not in a function as I am unable to remove this durring the function call:
> ERROR: RelationForgetRelation: relation 47527448 is still open
I think this could only happen in pre-7.3 Postgres. Consider updating.
regards, tom lane