6.4.2 psql/libpq not returning after error

Поиск
Список
Период
Сортировка
От John Wright
Тема 6.4.2 psql/libpq not returning after error
Дата
Msg-id 19990321135857.A690@aschamhs.demon.co.uk
обсуждение исходный текст
Ответы Re: [INTERFACES] 6.4.2 psql/libpq not returning after error  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-interfaces
Hi,

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.

Something like:

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.  gdb shows that it is waiting on a select().

(gdb) bt
#0  0x4010f4f3 in select ()
#1  0x40038c7c in pqWait ()
#2  0x40036f16 in PQgetResult ()
#3  0x400370ac in PQexec ()
#4  0x6698 in SendQuery (...

The console running postmaster does display an error, though.

My system is OpenBSD 2.5/i386.

Any ideas?  Known bug?  Patch about?

BFN, John
--
Calculating line numbers... (interrupt to abort)

В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Henk Jan Barendregt
Дата:
Сообщение: ODBC programming on Linux
Следующее
От: Herouth Maoz
Дата:
Сообщение: RE: [INTERFACES] JDBC Query performance