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

Re: [HACKERS] minor patch

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: dz(at)cs(dot)unitn(dot)it (Massimo Dal Zotto)
Cc: pgsql-patches(at)postgreSQL(dot)org, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] minor patch
Date: 1998-08-28 13:49:53
Message-ID: 199808281349.JAA00455@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Oops, Marc did it already.  Too fast for me.
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> 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  |
> +----------------------------------------------------------------------+
> 
> 


-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

In response to

  • minor patch at 1998-08-28 11:13:39 from Massimo Dal Zotto

pgsql-hackers by date

Next:From: Tom LaneDate: 1998-08-28 14:05:06
Subject: Re: [HACKERS] libpgtcl and Tcl 8.0
Previous:From: Bruce MomjianDate: 1998-08-28 13:49:18
Subject: Re: [PATCHES] minor patch

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