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

Collecting table values into a variable

From: MicazMAK <emoazzam(at)yahoo(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Collecting table values into a variable
Date: 2007-04-03 21:53:50
Message-ID: 955194.90587.qm@web36802.mail.mud.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-interfaces
Hi
   
  I am using my c based application using libpq to connect to postgresql. I have a table called light. I want to collect the values of the table light into a varible condition so that I can check this condition if(condition ==3) and do some operation depending on this operation.
   
  Can someone guide me how this can be done.
   
  Regards
  MAK

 
---------------------------------
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.

pgsql-interfaces by date

Next:From: Tonnerre LOMBARDDate: 2007-04-06 17:21:39
Subject: Index "misbehavior" in PostgreSQL 8.2.2?
Previous:From: Alvaro HerreraDate: 2007-04-02 15:55:57
Subject: Re: Cross Compile of libpq

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