Re: Wildcard usage enhancements in .pgpass

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Wildcard usage enhancements in .pgpass
Дата
Msg-id 20131117185613.GA2473@svana.org
обсуждение исходный текст
Ответ на Wildcard usage enhancements in .pgpass  (Alexey Klyukin <alexk@hintbits.com>)
Ответы Re: Wildcard usage enhancements in .pgpass  (Alexey Klyukin <alexk@hintbits.com>)
Re: Wildcard usage enhancements in .pgpass  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Sat, Nov 16, 2013 at 09:26:33PM +0100, Alexey Klyukin wrote:
> Hi,
>
> Attached is the patch that improves usage of '*' wildcard in .pgpass,
> particularly in the host part. The use case is below.

Looks interesting, though I wonder if you could use fnmatch(3) here. Or
woud that match more than you expect?  For example, it would allow
'foo*bar' to match 'foo.bar' which your code doesn't.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> He who writes carelessly confesses thereby at the very outset that he does
> not attach much importance to his own thoughts.  -- Arthur Schopenhauer

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: pre-commit triggers
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: pre-commit triggers