list of databases in C ? libpq ? - Mailing list pgsql-general

From Joao Ferreira gmail
Subject list of databases in C ? libpq ?
Date
Msg-id 1273252699.5589.66.camel@debj5n.critical.pt
Whole thread Raw
Responses Re: list of databases in C ? libpq ?  (Alex Hunsaker <badalex@gmail.com>)
Re: list of databases in C ? libpq ?  (Steve Atkins <steve@blighty.com>)
List pgsql-general
Hello all,

I need to write an application in C to read the list of databases
currently in the server. very much like a "psql -l"...

but I need it in C ! I never used C before to access PG.

the libpq API seems a bit scary ! Is there anything, shipped with
postgresql, other than libpq that would make my life simpler ?

thanks a lot

Joao



pgsql-general by date:

Previous
From: Alan Hodgson
Date:
Subject: Re: postgreSQL not working after upgrade to Ubuntu 10.4
Next
From: Tom Lane
Date:
Subject: Re: initdb fails on Centos 5.4 x64