Re: SSL passphrase prompt external command

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: SSL passphrase prompt external command
Дата
Msg-id 0455cd6d-64c3-dace-9465-e583b00f76f0@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: SSL passphrase prompt external command  (Daniel Gustafsson <daniel@yesql.se>)
Ответы Re: SSL passphrase prompt external command
Список pgsql-hackers
On 2/26/18 01:32, Daniel Gustafsson wrote:
> +        replaced by a prompt string.  (Write <literal>%%</literal> for a
> +        literal <literal>%</literal>.)  Note that the prompt string will
> 
> I might be thick, but I don’t see where the %% handled?

Ah, I had broken that in my submitted patch.  New patch attached.

> Also, AFAICT a string
> ending with %\0 will print a literal % without requiring %% (which may be a
> perfectly fine case to allow, depending on how strict we want to be with the
> format).

That is intentional.  I made the behavior match that of archive_command,
restore_command, etc.  It's note quite how printf works, but we might as
well stick with what we already have.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Precision loss casting float to numeric
Следующее
От: David Steele
Дата:
Сообщение: 2018-03 CFM