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

From: Don Baccus <dhogaza(at)pacifier(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, inoue(at)postgresql(dot)org
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: [COMMITTERS] pgsql/src/backend/utils/adt (ri_triggers.c)
Date: 2000-11-21 05:09:26
Message-ID: 3.0.1.32.20001120210926.021ecce0@mail.pacifier.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

At 11:37 PM 11/20/00 -0500, Tom Lane wrote:
>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?

Hmmm...I only worked within the structure Jan built (to fix/implement
semantics) but there are efforts to lock things down with "select for
update" where Jan felt it was necessary. Whether or not that's sufficient
is another question, but he obviously gave it *some* thought.

- Don Baccus, Portland OR <dhogaza(at)pacifier(dot)com>
Nature photos, on-line guides, Pacific Northwest
Rare Bird Alert Service and other goodies at
http://donb.photo.net.

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message pgsql 2000-11-21 05:09:27 www/html/mhonarc/pgsql-hackers-wal (search.htm)
Previous Message pgsql 2000-11-21 05:09:21 www/html/mhonarc/pgsql-hackers (search.htm top)

Browse pgsql-hackers by date

  From Date Subject
Next Message Don Baccus 2000-11-21 05:11:12 Re: Table/Column Constraints
Previous Message Bruce Momjian 2000-11-21 05:06:40 Re: Table/Column Constraints