X-Original-To: pgsql-patches-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C582D52DEF for ; Sat, 13 Aug 2005 10:10:42 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 88024-07 for ; Sat, 13 Aug 2005 13:10:41 +0000 (GMT) Received: from floppy.pyrenet.fr (floppy.pyrenet.fr [194.116.145.2]) by svr1.postgresql.org (Postfix) with ESMTP id EF6315282F for ; Sat, 13 Aug 2005 10:10:40 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id A681130959; Sat, 13 Aug 2005 15:21:07 +0200 (MET DST) From: "William ZHANG" X-Newsgroups: pgsql.patches Subject: Re: [BUGS] BUG #1815: ECPGdebug causes crash on Windows XP Date: Sat, 13 Aug 2005 21:10:46 +0800 Organization: Hub.Org Networking Services Lines: 24 Message-ID: References: <200508130244.j7D2iJE03191@candle.pha.pa.us> X-Complaints-To: usenet@news.hub.org X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 To: pgsql-patches@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.6 tagged_above=0 required=5 tests=[AWL=0.600] X-Spam-Level: X-Archive-Number: 200508/213 X-Sequence-Number: 17160 "Bruce Momjian" wrote:200508130244.j7D2iJE03191@candle.pha.pa.us... > William ZHANG wrote: > > Make sure the lib directory is in the PATH. > > I tested it in MinGW. > > > > $ ecpg main.pgc > > $ gcc main.c -I../include -L../lib -lecpg > > $ export PATH=$PATH:"/c/Program Files/PostgreSQL/8.0/lib" > > $ ./a.exe > > [1772]: ECPGdebug: set to 1 > > > Ah, interesting. Why would it crash if the lib directory is not in the > path? Because it can't load the library? Maybe I misunderstood the word 'crash'. If I forgot to put the lib directory, it will make Windows popup a GUI warning window. joshua masiko: Can you give more information?