inoue@postgresql.org writes:
> Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/utils/adt
> Modified Files:
> ri_triggers.c
> keep relations open until they are no longer needed.
Something that's been bothering me for a good while about ri_triggers
is that it opens the relations without any lock to begin with.
That can't possibly be safe, can it?
regards, tom lane