| From: | Filip Rembiałkowski <plk(dot)zuber(at)gmail(dot)com> |
|---|---|
| To: | suzhiyang <suzhiyang(at)gmail(dot)com> |
| Cc: | Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Distinguish view and table problem |
| Date: | 2009-12-19 12:48:21 |
| Message-ID: | 92869e660912190448k563a2328o5243403dc56cd64e@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
W dniu 19 grudnia 2009 03:20 użytkownik suzhiyang <suzhiyang(at)gmail(dot)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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dimitri Fontaine | 2009-12-19 13:44:48 | Re: Re: [COMMITTERS] pgsql: Allow read only connections during recovery, known as Hot |
| Previous Message | Peter Eisentraut | 2009-12-19 12:20:10 | alpha3 release schedule? |