Magos?nyi ?rp?d:
> Hi,
>
> Any news with this patch? I don't see it in 3.2.4 yet.
Features are not added to the stable release.
> > > > Thanks for the code. Can you document the "postgresql:" prefix in
> > > > proto/pgsql_table, i.e. the source code for the pgsql_table(5)
> > > > manpage?
> > > >
> > > > Wietse
> > >
> > > Here you are.
> > >
> > > Is there a gthub repo? Sending pull requests is less last millenium.
> >
> > Thanks. I'll queue this with the other part. Postfix does not change
> > often, so patch against a stable release is probably your best bet.
I can't find this in the work queue. Is this patch complete, or
does there need to be code that adds support for the postgresql:
prefix, in addition to the existing support for unix: and inet:?
Wietse
> > > --- pgsql_table.orig 2016-12-11 20:53:49.030543785 +0100
> > > +++ pgsql_table 2016-12-11 20:56:44.386592266 +0100
> > > @@ -89,10 +89,12 @@
> > > # .IP "\fBhosts\fR"
> > > # The hosts that Postfix will try to connect to and query from.
> > > # Specify \fIunix:\fR for UNIX-domain sockets, \fIinet:\fR for TCP
> > > -# connections (default). Example:
> > > +# connections (default), of \fIpostgresql:\fR if you use a connection
> > > +# string. Example:
> > > # .nf
> > > # hosts = host1.some.domain host2.some.domain:port
> > > # hosts = unix:/file/name
> > > +# hosts =
> > > postgresql://[email protected]/tablename?sslmode=require
> > > # .fi
> > > #
> > > # The hosts are tried in random order, with all connections over
> > >
> > >
> >