pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: William ZHANG <uniware@zedware.org>
To: pgsql-patches@postgresql.org
Subject: Re: [BUGS] BUG #1815: ECPGdebug causes crash on Windows XP
Date: Sat, 13 Aug 2005 21:10:46 +0800
Message-ID: <ddkrgc$2u2j$1@news.hub.org> (raw)
References: <ddcdrc$1705$1@news.hub.org>
	<200508130244.j7D2iJE03191@candle.pha.pa.us>


"Bruce Momjian" <pgman@candle.pha.pa.us>
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?





view thread (5+ messages)

Message-ID: <ddkrgc$2u2j$1@news.hub.org>
Permalink:  ../ddkrgc$2u2j$1@news.hub.org/
Also on:    postgresql.org/message-id/ddkrgc$2u2j$1@news.hub.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: uniware@zedware.org, pgsql-patches@postgresql.org
  Subject: Re: [BUGS] BUG #1815: ECPGdebug causes crash on Windows XP
  In-Reply-To: <ddkrgc$2u2j$1@news.hub.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox