From: | Michael Meskes <meskes(at)postgresql(dot)org> |
---|---|
To: | Chris McNett <chrismcnett(at)hotmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: ecpg |
Date: | 2000-09-11 17:12:50 |
Message-ID: | 20000911101250.A3481@feivel.credativ.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Sun, Sep 10, 2000 at 11:12:35PM +0000, Chris McNett wrote:
> I'm getting error -402 (can't connect to database) when I use ecpg. It
> compiled and linked fine. The database works using the psql command. Why
> isn't this working?
Strange. Could you please run your program under debug mode by adding
if ((dbgs = fopen("log", "w")) != NULL)
ECPGdebug(1, dbgs);
and
if (dbgs != NULL)
fclose(dbgs);
After that we should take a look into the file "log". Maybe we get more
details about this that way. Do you access the database via TCP/IP or
streams? Is it on localhost?
Michael
--
Michael Meskes
Michael(at)Fam-Meskes(dot)De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Poole | 2000-09-11 17:27:53 | "initdb -t" ate my baby |
Previous Message | Gary MacDougall | 2000-09-11 16:58:57 | Re: Transaction Manager |