Viktor Dukhovni via Postfix-users: > On Fri, Oct 25, 2024 at 01:42:40PM +1100, Viktor Dukhovni via Postfix-users > wrote: > > > So we only support "postgresql:" and [not] "postgres:", because with non-URL > > hosts, we use a legacy API to separately specify host, port, database, > > username and password: > > > > > > https://github.com/vdukhovni/postfix/blob/a5b1b93841f14c32ddc9772887a664e7736b3826/postfix/src/global/dict_pgsql.c#L567-L573 > > Added a missing [not].
Let's leave the URI parsing to the PostgreSQL library, and allow anything that starts with a well-formed scheme:// where the scheme syntax is defied in RFC 3986 section 3.1: scheme = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." ) I'll also update the text that the dbname property is ignored when a hosts target specifies an URI. Wietse _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org