From: Matthias Teege <matthias@mteege.de>
To: pgsql-interfaces@postgresql.org
Subject: pg_connect dumps core
Date: Sun, 4 Mar 2001 14:34:57 +0100 (MET)
Message-ID: <200103041334.OAA01945@moon.mteege.de> (raw)
Moin,
I have problems with tclsh8.3, libpgtcl.so and pg_connect. What
is wrong with this simple code:
load libpgtcl.so
pg_connect db
This gives me an Segmentation Fault and dumps core under FreeBSD 4.2.
Are there known problems? Pgaccess works without any problems and
communicates perfect with the db. Ich I call pg_connect with a wrong
db name the function gives me an error message. I use PostgreSQL 7.0.3.
Here the tclsh session:
tclsh8.3
% load libpgtcl.so
% pg_connect m3
Connection to database failed
FATAL 1: Database "m3" does not exist in the system catalog.
% pg_connect m2
Segmentation fault (core dumped)
in postgresql errlog there are:
FATAL 1: Database "m3" does not exist in the system catalog.
pq_recvbuf: unexpected EOF on client connection
Many thanks
Matthias
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: matthias@mteege.de
Subject: Re: pg_connect dumps core
In-Reply-To: <200103041334.OAA01945@moon.mteege.de>
* 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