X-Original-To: pgsql-bugs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 571CE52C56 for ; Wed, 10 Aug 2005 05:28:34 -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 83315-04 for ; Wed, 10 Aug 2005 08:28:33 +0000 (GMT) Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by svr1.postgresql.org (Postfix) with ESMTP id 6142B52C4A for ; Wed, 10 Aug 2005 05:28:31 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id CDEC130959; Wed, 10 Aug 2005 10:38:22 +0200 (MET DST) From: "William ZHANG" X-Newsgroups: pgsql.bugs Subject: Re: BUG #1815: ECPGdebug causes crash on Windows XP Date: Wed, 10 Aug 2005 14:15:43 +0800 Organization: zedware Lines: 55 Message-ID: References: <20050809194027.A1C76F0B08@svr2.postgresql.org> X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 To: pgsql-bugs@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.211 tagged_above=0 required=5 tests=AWL, PRIORITY_NO_NAME X-Spam-Level: * X-Archive-Number: 200508/72 X-Sequence-Number: 12496 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 ""joshua masiko"" wrote news:20050809194027.A1C76F0B08@svr2.postgresql.org... > > The following bug has been logged online: > > Bug reference: 1815 > Logged by: joshua masiko > Email address: joshua_masiko@yahoo.com > PostgreSQL version: 8.0.3 > Operating system: Windows XP SP2 > Description: ECPGdebug causes crash on Windows XP > Details: > > /* Processed by ecpg (4.0.1) */ > /* These include files are added by the preprocessor */ > #include > #include > #include > #include > /* End of automatic include section */ > #line 1 "main.pgc" > #include > > int main(int argc,char **argv) > { > ECPGdebug(1,stderr); > return 0; > } > > Running the above program results in a reproducible crash on Windows XP > > Environment > Windows XP SP2 > Visual Studio SP5 > Postgresql 8.0.3 > > Any ideas?? > > ---------------------------(end of broadcast)--------------------------- > TIP 9: In versions below 8.0, the planner will ignore your desire to > choose an index scan if your joining column's datatypes do not > match >