Skip site navigation (1) Skip section navigation (2)

minor patch

From: Massimo Dal Zotto <dz(at)cs(dot)unitn(dot)it>
To: pgsql-patches(at)postgreSQL(dot)org, pgsql-hackers(at)postgreSQL(dot)org
Subject: minor patch
Date: 1998-08-28 11:13:39
Message-ID: 199808281113.NAA27026@tango.cs.unitn.it (view raw or flat)
Thread:
Lists: pgsql-hackers
Hi,

I have this small patch which fixes a typo in my previous lock patches.
Fortunately the bug affects only user locks.

------------------------------------------------------------------------------
*** src/backend/storage/lmgr/lock.c~	Wed Aug 26 09:00:55 1998
--- src/backend/storage/lmgr/lock.c	Thu Aug 27 22:57:56 1998
***************
*** 668,674 ****
  			{
  				SHMQueueDelete(&result->queue);
  				result = (XIDLookupEnt *) hash_search(xidTable,
! 													  (Pointer) &result,
  													  HASH_REMOVE, &found);
  				if (!result || !found) {
  					elog(NOTICE, "LockAcquire: remove xid, table corrupted");
--- 668,674 ----
  			{
  				SHMQueueDelete(&result->queue);
  				result = (XIDLookupEnt *) hash_search(xidTable,
! 													  (Pointer) result,
  													  HASH_REMOVE, &found);
  				if (!result || !found) {
  					elog(NOTICE, "LockAcquire: remove xid, table corrupted");
------------------------------------------------------------------------------

Massimo Dal Zotto

+----------------------------------------------------------------------+
|  Massimo Dal Zotto                email:  dz(at)cs(dot)unitn(dot)it             |
|  Via Marconi, 141                 phone:  ++39-461-534251            |
|  38057 Pergine Valsugana (TN)     www:  http://www.cs.unitn.it/~dz/  |
|  Italy                            pgp:  finger dz(at)tango(dot)cs(dot)unitn(dot)it  |
+----------------------------------------------------------------------+

Responses

pgsql-hackers by date

Next:From: Michael MeskesDate: 1998-08-28 13:40:16
Subject: ecpg patches
Previous:From: Andreas ZeugswetterDate: 1998-08-28 10:27:59
Subject: long long int and printf format for int8.c

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group