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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: inoue(at)postgresql(dot)org
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql/src/backend/utils/adt (ri_triggers.c)
Date: 2000-11-21 04:37:52
Message-ID: 29779.974781472@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

inoue(at)postgresql(dot)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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Larry Rosenman 2000-11-21 04:48:09 Re: [HACKERS] Re: pgsql/src/backend/access/transam (xlog.c)
Previous Message Tom Lane 2000-11-21 04:33:29 Re: [HACKERS] Re: pgsql/src/backend/access/transam (xlog.c)

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2000-11-21 04:43:06 RE: Table/Column Constraints
Previous Message Tom Lane 2000-11-21 04:33:29 Re: [HACKERS] Re: pgsql/src/backend/access/transam (xlog.c)