Issue on calling PQconnectdbParams from C

From: Andrei Petru Mura <mapandrei(at)gmail(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Issue on calling PQconnectdbParams from C
Date: 2013-02-23 09:42:36
Message-ID: CAK18DJV7J3EbiN8in7kPF1fWNJgNpFv4TjO0SALAc+PYdEC9=w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

I'm trying to create a database connection with libpq from C. If I create
the same connection with PQconnectdb, everything works fine, but if I
create it with PQconnectdbParams function, I get a segmentation fault
message, without any other message. Can anybody help me in that issue?

Note: I'm not sure if I posted in the right mailing list, so please guide
me if it is the case. Thanks for patience.

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 2013-02-23 11:12:33 Re: Issue on calling PQconnectdbParams from C
Previous Message rajashekar 2012-12-06 04:19:37 Re: libpq on windows