list of databases in C ? libpq ?

From: Joao Ferreira gmail <joao(dot)miguel(dot)c(dot)ferreira(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: list of databases in C ? libpq ?
Date: 2010-05-07 17:18:19
Message-ID: 1273252699.5589.66.camel@debj5n.critical.pt
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Clark 2010-05-07 17:21:37 Re: postgreSQL not working after upgrade to Ubuntu 10.4
Previous Message sunpeng 2010-05-07 17:15:31 when to update pg_statistic relation?