From: | Francois Machabee <francois(at)nexus-is(dot)qc(dot)ca> |
---|---|
To: | "'pgsql-hackers(at)postgresql(dot)org'" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | DestroyDB Patch *** Update |
Date: | 1998-10-23 11:54:30 |
Message-ID: | 01BDFE5A.5E4DA320@toshi.nexus-is.qc.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hello,
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 :
Instead of using :
+ tupType = j->jf_cleanTupType; /* Added by daveh(at)insightdist(dot)com 5/20/98 */
I changed the line of the patch file to say ...
+ 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 */
and voila the backend stopped crashing and the operations are completed correctly (I checked via psql \l and also doing a vacuum to check the integrity of the db).
I hope this helps people in the community.
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
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas G. Lockhart | 1998-10-23 13:50:40 | Re: [HACKERS] DestroyDB Patch *** Update |
Previous Message | D'Arcy J.M. Cain | 1998-10-23 11:26:07 | Re: [HACKERS] 6.4 interfaces deadline |