Purely as an observer and a db_postgres user,
wouldn't it be easier just to pass entire connection strings or connection URIs? That
way, Kamailio doesn't need to worry about parsing the params, just to rebuild them for
input to libpq
https://www.postgresql.org/docs/12/libpq-connect.html#LIBPQ-CONNSTRING
Thanks for your suggestion.
Currently PQconnectdbParams function is used to make connections.
This function takes two char arrays as keywords and values.
So we need to parse parameters.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2622#issuecomment-773822991