SHOW with libpq

From: Limin Liu <limin(at)pumpkinnet(dot)com>
To: pgsql-general(at)postgresql(dot)org, limin(at)pumpkinnet(dot)com
Subject: SHOW with libpq
Date: 2001-05-10 00:32:20
Message-ID: 3AF9E194.1EBA9877@pumpkinnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Does anyone know how to access the result of SHOW from PGresult?

For example, in a C progam using libpq

PGconn* conn = ...;
PGresult *res;

res = PGexec(conn, "SHOW DataStyle");

What should I do next?

Thank you very much

--
LM Liu

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tatsuo Ishii 2001-05-10 02:09:52 Re: Charset and encoding
Previous Message Bruce Momjian 2001-05-10 00:08:36 Re: Oracle to Pg tool