Re: BUG #18711: Attempting a connection with a database name longer than 63 characters now fails

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #18711: Attempting a connection with a database name longer than 63 characters now fails
Дата
Msg-id 149256.1732115451@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #18711: Attempting a connection with a database name longer than 63 characters now fails  (Bertrand Drouvot <bertranddrouvot.pg@gmail.com>)
Ответы Re: BUG #18711: Attempting a connection with a database name longer than 63 characters now fails
Список pgsql-bugs
Bertrand Drouvot <bertranddrouvot.pg@gmail.com> writes:
> Could we rely on pg_encoding_max_length() instead of MAX_MULTIBYTE_CHAR_LEN? That
> would then work for short characters too IIUC.

No.  We don't know which encoding it is.  Even if you wanted to say
"use the database encoding", we haven't identified the database yet.

            regards, tom lane



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