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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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.

Browse pgsql-interfaces by date

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