<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Nayani,<br>
<br>
yeah, that is a rather old and unsupported version of postgres. I
think you should try to use a newer version it (maybe a newer
version of your distro).<br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
</pre>
<div class="moz-cite-prefix">On 4/21/20 5:21 PM, Nayani Nikeshala
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1193421104.181467.1587478895108@mail.yahoo.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div><span style="color: rgb(38, 40, 42);">Hi Bogdan,</span><br>
</div>
<div id="ydpbd3f94ebyahoo_quoted_7777934833"
class="ydpbd3f94ebyahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial,
sans-serif;font-size:13px;color:#26282a;">
<div>
<div class="ydp33188704yahoo-style-wrap"
style="font-family:Helvetica Neue, Helvetica, Arial,
sans-serif;font-size:16px;">
<div dir="ltr" data-setdir="false"><br>
</div>
<div dir="ltr" data-setdir="false">I have attached the
output log for the above commands. </div>
<div dir="ltr" data-setdir="false"><br>
</div>
<div dir="ltr" data-setdir="false"><span><span
style="font-family: monospace;">"make modules
module=modules/db_postgres" gave me an error as in
the attached file, so I used "<span>make
include_modules=db_postgres modules" instead. I
could see below in the output. </span></span></span><br>
</div>
<div dir="ltr" data-setdir="false"><span><span
style="font-family: monospace;"><span><br>
</span></span></span></div>
<div dir="ltr" data-setdir="false"><span><span
style="font-family: monospace;">
<div>
<div>make[1]: Entering directory
`/home/cscore/Downloads/opensips-2.4.7/modules/db_postgres'</div>
<div>make[1]: Leaving directory
`/home/cscore/Downloads/opensips-2.4.7/modules/db_postgres'</div>
<div>make[1]: Entering directory
`/home/cscore/Downloads/opensips-2.4.7/modules/db_postgres'</div>
<div>Compiling dbase.c</div>
<div>Compiling db_postgres.c</div>
<div>Compiling pg_con.c</div>
<div>Compiling res.c</div>
<div>Compiling val.c</div>
<div>pg_con.c: In function
db_postgres_new_connection:</div>
<div><span style="background-color: rgb(91, 136,
40);">pg_con.c:93: warning: implicit
declaration of function PQconnectdbParams</span></div>
<div><span style="background-color: rgb(91, 136,
40);">pg_con.c:93: warning: assignment makes
pointer from integer without a cast</span></div>
<div>Linking db_postgres.so</div>
<div>make[1]: Leaving directory
`/home/cscore/Downloads/opensips-2.4.7/modules/db_postgres'</div>
</div>
<div><br>
</div>
<div dir="ltr" data-setdir="false">Is this a problem
of my psql version(<span><span style="color:
rgb(38, 40, 42); font-family: Helvetica Neue,
Helvetica, Arial, sans-serif;">8.4.20</span></span>),
because <span><span style="color: rgb(0, 0, 0);
font-family: monospace; font-size: 16px;
background-color: rgb(91, 136, 40);">PQconnectdbParams </span><span
style="color: rgb(0, 0, 0); font-family:
monospace; font-size: 16px; background-color:
rgb(255, 255, 255);"> is not available in that
version. </span></span></div>
</span></span></div>
<br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>