Re: [BUGS] BUG #1815: ECPGdebug causes crash on Windows XP

From: "William ZHANG" <uniware(at)zedware(dot)org>
To: pgsql-patches(at)postgresql(dot)org
Subject: Re: [BUGS] BUG #1815: ECPGdebug causes crash on Windows XP
Date: 2005-08-13 13:10:46
Message-ID: ddkrgc$2u2j$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-interfaces pgsql-patches


"Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
wrote:200508130244(dot)j7D2iJE03191(at)candle(dot)pha(dot)pa(dot)us(dot)(dot)(dot)
> 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?

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Joshua Masiko 2005-08-13 14:54:53 Re: BUG #1815: ECPGdebug causes crash on Windows XP
Previous Message Bruce Momjian 2005-08-13 02:44:19 Re: [BUGS] BUG #1815: ECPGdebug causes crash on Windows XP

Browse pgsql-interfaces by date

  From Date Subject
Next Message Michael Fuhr 2005-08-13 15:01:45 Re: [HACKERS] ECPG ignores SAVEPOINT if first statement of a transaction
Previous Message jtv 2005-08-13 06:20:02 Re: Getting oid with libpq

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2005-08-13 13:57:44 Re: [HACKERS] For review: Server instrumentation patch
Previous Message Stefan Kaltenbrunner 2005-08-13 11:03:57 psql tab-complete and backslash patch