Re: pgsql: createdb: Fix quoting of --encoding, --lc-ctype and--lc-collate

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pgsql: createdb: Fix quoting of --encoding, --lc-ctype and--lc-collate
Дата
Msg-id 20200227142520.GA4703@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: pgsql: createdb: Fix quoting of --encoding, --lc-ctype and--lc-collate  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-committers
On 2020-Feb-27, Michael Paquier wrote:

> Now looking at the code of OpenBSD there could be an
> alternative: using a string longer than 256 characters if I read
> lib/libc/locale/setlocale.c correctly, but I'd rather not rely on
> that.

That seems awfully fragile.  Belated +1 for not relying on that :-)

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: pgsql: createdb: Fix quoting of --encoding, --lc-ctype and--lc-collate
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Record parents of triggers