Skip site navigation (1) Skip section navigation (2)

Re: want basic help with C

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 (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-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.





In response to

Responses

pgsql-interfaces by date

Next:From: Arindam HaldarDate: 2002-05-21 12:58:41
Subject: Re: want basic help with C
Previous:From: Arindam HaldarDate: 2002-05-21 12:16:48
Subject: want basic help with C

pgsql-general by date

Next:From: WimDate: 2002-05-21 13:16:44
Subject: Problem with inserting: attribute 'extended_reason'
Previous:From: Arindam HaldarDate: 2002-05-21 12:16:48
Subject: want basic help with C

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group