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 <klep...@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
signature.asc
Description: Digital signature