Hi,
I'm about 99.666667% sure that the lock type choosen in the
FOR UPDATE case (line 511 of parse_relation.c) should be
RowExclusiveLock instead of RowShareLock. Actually I get
"Deadlock risk" debug messages when selecting FOR UPDATE and
then really UPDATE.
Should I change it?
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #
Responses
pgsql-hackers by date
| Next: | From: The Hermit Hacker | Date: 2000-12-04 12:55:53 |
| Subject: Re: Using Threads? |
| Previous: | From: Fabio Nanni | Date: 2000-12-04 12:39:34 |
| Subject: triggers and actions tree |