RE: [HACKERS] DestroyDB Patch *** Update

From: Francois Machabee <francois(at)nexus-is(dot)qc(dot)ca>
To: "'Thomas G(dot) Lockhart'" <lockhart(at)alumni(dot)caltech(dot)edu>
Cc: "'pgsql-hackers(at)postgresql(dot)org'" <pgsql-hackers(at)postgresql(dot)org>
Subject: RE: [HACKERS] DestroyDB Patch *** Update
Date: 1998-10-23 14:29:46
Message-ID: 01BDFE70.0EB9ECE0@toshi.nexus-is.qc.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi there,

Here is the proper diff -c patch file for the previously mentionned patch :

*** junkfilter_patch.txt Fri Oct 23 10:26:14 1998
--- patch-fm Thu Oct 22 09:17:34 1998
***************
*** 29,35 ****
JunkFilter *j = (JunkFilter *) ExecInitJunkFilter(targetList);
estate->es_junkFilter = j;
+
! + tupType = j->jf_cleanTupType; /* Added by daveh(at)insightdist(dot)com 5/20/98 */
}
else
estate->es_junkFilter = NULL;
--- 29,35 ----
JunkFilter *j = (JunkFilter *) ExecInitJunkFilter(targetList);
estate->es_junkFilter = j;
+
! + if (operation != CMD_DELETE) {tupType = j->jf_cleanTupType;} /* Added by daveh(at)insightdist(dot)com 5/20/98 modified by Francois Machabee 10/21/1998 */
}
else
estate->es_junkFilter = NULL;

François Machabée
Nexus Informatique & Marketing, Inc. / Nexus Information Systems & Marketing, Inc.
WWW: Http://www.nexus-is.qc.ca
Email: mailto:francois(at)nexus-is(dot)qc(dot)ca

-----Original Message-----
From: Thomas G. Lockhart [SMTP:lockhart(at)alumni(dot)caltech(dot)edu]
Sent: Friday, October 23, 1998 9:51 AM
To: Francois Machabee; David Hartwig
Cc: 'pgsql-hackers(at)postgresql(dot)org'
Subject: Re: [HACKERS] DestroyDB Patch *** Update

> Let me start by congratulating everyone involved in the Postgresql
> project for a job well done. I have thoroughly researched the bug in
> 6.3.2 with the ODBC ORDER BY as well as the patch supplied by insight
> for the backend. With the help of the debug information provided by
> another poster I have devised a simple (maybe stupid) fix which seems
> to have fixed all the problems related to destroydb and delete from
> crashing the backend. The change to the patch file is simple :

Could you please send a new patch file? Use "diff -c" to generate it...

David, have you had a chance to look at this? Is it still a problem?

- Tom

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 1998-10-23 15:29:33 Re: [HACKERS] Bug? relpages, reltuples resets to zero
Previous Message Thomas G. Lockhart 1998-10-23 13:50:40 Re: [HACKERS] DestroyDB Patch *** Update