Re: \dS and \df crashing psql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: \dS and \df crashing psql
Дата
Msg-id 1233.959302807@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: \dS and \df crashing psql  (Nishad PRAKASH <prakashn@uci.edu>)
Ответы Re: \dS and \df crashing psql  (Nishad PRAKASH <prakashn@uci.edu>)
Список pgsql-bugs
Nishad  PRAKASH <prakashn@uci.edu> writes:
> I compiled 7.0 with locale support, recode, and multibyte options all
> enabled.  In the postgres (db superuser) .cshrc, I had set LC_CTYPE to
> "en_US".  This was the problem.  When I would start postmaster and run
> anything that involved a regexp (and the query that \dS expands to uses
> regexps) on a "bytea" type field, psql would crash.

> To fix this, I tried first letting the locale default to "C", then setting
> LC_CTYPE to "iso_8859_1".  Starting postmaster with either of these works
> perfectly.

> If you are still interested in server output or backtraces (perhaps to
> implement a more graceful exit?), I'd be glad to send them, but I'm sure
> you can replicate this pretty easily now if required.

Hmm, news to us.  It may be a platform-specific problem, so yes please
do send a backtrace.

            regards, tom lane

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

Предыдущее
От: Nishad PRAKASH
Дата:
Сообщение: Re: \dS and \df crashing psql
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: \dS and \df crashing psql