From: | Arindam Haldar <arindamhaldar(at)hotpop(dot)com> |
---|---|
To: | |
Cc: | pgsql-interfaces(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org |
Subject: | Re: want basic help with C |
Date: | 2002-05-21 12:34:37 |
Message-ID: | 3CEA3EDD.5000304@hotpop.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general 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.
From | Date | Subject | |
---|---|---|---|
Next Message | Wim | 2002-05-21 13:16:44 | Problem with inserting: attribute 'extended_reason' |
Previous Message | Arindam Haldar | 2002-05-21 12:16:48 | want basic help with C |
From | Date | Subject | |
---|---|---|---|
Next Message | Arindam Haldar | 2002-05-21 12:58:41 | Re: want basic help with C |
Previous Message | Arindam Haldar | 2002-05-21 12:16:48 | want basic help with C |