<p></p>
<blockquote>
<p>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 <a href="https://www.postgresql.org/docs/12/libpq-connect.html#LIBPQ-CONNSTRING" rel="nofollow">https://www.postgresql.org/docs/12/libpq-connect.html#LIBPQ-CONNSTRING</a></p>
</blockquote>
<p>Thanks for your suggestion.<br>
Currently PQconnectdbParams function is used to make connections.<br>
This function takes two char arrays as keywords and values.<br>
So we need to parse parameters.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/2622#issuecomment-773822991">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZLEIFZDGPFVQZI4GJTS5OFWDANCNFSM4XCJSFIA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZPWAQ3SYA6RMQF3DVTS5OFWDA5CNFSM4XCJSFIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFYPZUDY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/2622#issuecomment-773822991",
"url": "https://github.com/kamailio/kamailio/pull/2622#issuecomment-773822991",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>