Re: [COMMITTERS] pgsql/src/backend/utils/adt (ri_triggers.c) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [COMMITTERS] pgsql/src/backend/utils/adt (ri_triggers.c)
Date
Msg-id 29779.974781472@sss.pgh.pa.us
Whole thread Raw
Responses Re: Re: [COMMITTERS] pgsql/src/backend/utils/adt (ri_triggers.c)  (Don Baccus <dhogaza@pacifier.com>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: [COMMITTERS] pgsql/src/backend/access/transam (xlog.c)
Next
From: Larry Rosenman
Date:
Subject: Re: Re: [COMMITTERS] pgsql/src/backend/access/transam (xlog.c)