Re: want basic help with C
От | Arindam Haldar |
---|---|
Тема | Re: want basic help with C |
Дата | |
Msg-id | 3CEA3EDD.5000304@hotpop.com обсуждение исходный текст |
Ответ на | want basic help with C (Arindam Haldar <arindamhaldar@hotpop.com>) |
Ответы |
Re: [GENERAL] want basic help with C
|
Список | pgsql-interfaces |
Arindam Haldar wrote: hi, i went thru the docs on programming interface of postgresql with c. But am unable to understnad to use the interface to query a select statement. the database is--->masterdb & in it there is a table -->colleges with a few columns & a few records for testing.. now i want to use a general select statement--> select * from colleges, but going thru the docs again & again from different sites am unable to undestand how to use it. can u gove me a basics to use the funstion to use the same & print the rows in the tables thanking in advance A.H pls--> i wanted to ask this 2nd Question-->is it necessary to start postgreswith option -i too to accept connection from localhost(C programme). command line works fine without the said option but unless i use -i , i cannot connect to postgres.
В списке pgsql-interfaces по дате отправления: