W dniu 19 grudnia 2009 03:20 użytkownik suzhiyang <suzhiy...@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.

Reply via email to