From: Neil Darlow <ndarlow@csi.com>
To: pgsql-interfaces@postgresql.org
Subject: libpgtcl core dump with socket access.
Date: Sun, 27 Sep 1998 11:34:03 +0100
Message-ID: <360E149B.245ECE2E@csi.com> (raw)
Hi,
My environment is Red Hat 5.1 Intel, kernel 2.0.35-2, glibc-2.0.7 running
PostgreSQL-6.3.2 and Tcl/Tk-8.0.2. Colleagues have reported that the problem
does not occur with the original *stock* Red Hat 5.1 distribution.
If you connect to a database locally with: set dbc [pg_connect "dbname"]
then there is no problem. Executing: set result [pg_exec $dbc "select * from
non_existent_table"]
results in an error message being reported by tclsh or wish.
If you connect to a database with: set dbc [pg_connect -conninfo
"dbname=database
host=hostname port=portname user=username password=password"]
then execute: set result [pg_exec $dbc "select * from non_existent_table"]
always results in a core dump.
I have checked other libpgtcl interface commands and they appear to work ok. It
just seems to be pg_exec over socket connections. Performing the same operations
with psql always results in error messages being returned.
Has anyone else noticed this problem? Is there a solution?
Neil Darlow (UK).
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: ndarlow@csi.com
Subject: Re: libpgtcl core dump with socket access.
In-Reply-To: <360E149B.245ECE2E@csi.com>
* 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