From: Tom Lane <tgl@sss.pgh.pa.us>
To: John Wright <juggler@oaktree.co.uk>
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] 6.4.2 psql/libpq not returning after error
Date: Sun, 21 Mar 1999 11:11:29 -0500
Message-ID: <7431.922032689@sss.pgh.pa.us> (raw)
In-Reply-To: <19990321135857.A690@aschamhs.demon.co.uk>
John Wright <juggler@oaktree.co.uk> writes:
> I've just installed postgres-6.4.2 after using 6.3.1 and I've noticed that
> when using psql and an error occurs psql locks up.
> SELECT 'XXX'::bool;
> will return an error using psql from 6.3.1 but will not return at all using
> the psql from 6.4.2.
It works for everyone else ... we could hardly have failed to notice
such an obvious problem ;-)
Are you perhaps trying to use a 6.4.x psql with a 6.3.x backend? (The
older postmaster should've refused such a connection in the first place,
however, so that doesn't seem likely.) It sounds like the backend is
failing to fflush() out the last few characters of its response, but
I'm at a loss to understand why that would be happening only for you
and not all over the place. You might try attaching to the backend
process and using gdb to see where it's sitting...
regards, tom lane
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: tgl@sss.pgh.pa.us, juggler@oaktree.co.uk
Subject: Re: [INTERFACES] 6.4.2 psql/libpq not returning after error
In-Reply-To: <7431.922032689@sss.pgh.pa.us>
* 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