Re: want basic help with C - Mailing list pgsql-interfaces

From Arindam Haldar
Subject Re: want basic help with C
Date
Msg-id 3CEA3EDD.5000304@hotpop.com
Whole thread Raw
In response to want basic help with C  (Arindam Haldar <arindamhaldar@hotpop.com>)
Responses Re: [GENERAL] want basic help with C  (Oliver Elphick <olly@lfix.co.uk>)
List 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 by date:

Previous
From: Arindam Haldar
Date:
Subject: want basic help with C
Next
From: Arindam Haldar
Date:
Subject: Re: want basic help with C