Re: Distinguish view and table problem - Mailing list pgsql-hackers

From Filip Rembiałkowski
Subject Re: Distinguish view and table problem
Date
Msg-id 92869e660912190448k563a2328o5243403dc56cd64e@mail.gmail.com
Whole thread Raw
In response to Distinguish view and table problem  ("suzhiyang" <suzhiyang@gmail.com>)
Responses Re: Distinguish view and table problem  (Jaime Casanova <jcasanov@systemguards.com.ec>)
List pgsql-hackers

W dniu 19 grudnia 2009 03:20 użytkownik suzhiyang <suzhiyang@gmail.com> napisał:
Sorry, I've not describe my problem precisely.
I mean that  I want to get relkind or something from a systable by the programm but not by sql.
I don't understand how you can get data from table without using SQL. (maybe I'm just "too sql")
 
That is, if I execute such sql by exec_simple_query("select xxx from pg_xxx"), how could I get the result of it in the programm?

Are you programming in C? If so, use the API provided by PostgreSQL,
http://www.postgresql.org/docs/current/static/libpq.html

PS. suzhiyang, please use "Reply All" when talking on this list.

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: alpha3 release schedule?
Next
From: Dimitri Fontaine
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Allow read only connections during recovery, known as Hot