psql can crash the backend on login

Поиск
Список
Период
Сортировка
От pgsql-bugs@postgresql.org
Тема psql can crash the backend on login
Дата
Msg-id 200009031640.e83Gewp76761@hub.org
обсуждение исходный текст
Ответы Re: psql can crash the backend on login  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Alexandru Popa (razor@ldc.ro) reports a bug with a severity of 1
The lower the number the more severe it is.

Short Description
psql can crash the backend on login

Long Description
On a FreeBSD 4.1-STABLE system, launching /usr/local/pgsql/bin/psql  and giving control-d as a password will crash the
backend.
Note I only tried this on a localhost connection (Unix sockets)

Sample Code
machine% /usr/local/pgsql/bin/psql -U validuser
Password: (hit control-d here)
Password:
Password:
Password:
Password:
Password:
Password:
Password:
Password:
(more of those)
Password:
psql: pqReadData() -- backend closed the channel unexpectedly.
        This probably means the backend terminated abnormally
        before or while processing the request.
machine% /usr/local/pgsql/bin/psql -U validuser
psql: connectDBStart() -- connect() failed: No such file or directory
        Is the postmaster running at 'localhost'
        and accepting connections on Unix socket '5432'?
machine% ps auxw|grep 'post[m]aster'
machine%



No file was uploaded with this report

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PG still fussy to compile on Solaris + GCC, may still need Sun ld
Следующее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: bugtool horribly wraps the lines