Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id C09299FB99B for ; Tue, 3 Apr 2007 18:54:47 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 20248-01-6 for ; Tue, 3 Apr 2007 18:54:39 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from web36802.mail.mud.yahoo.com (web36802.mail.mud.yahoo.com [209.191.85.53]) by postgresql.org (Postfix) with SMTP id B43EA9FBA4A for ; Tue, 3 Apr 2007 18:53:52 -0300 (ADT) Received: (qmail 91071 invoked by uid 60001); 3 Apr 2007 21:53:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=pfK82pJ+h5YxO3FTxyQMwA7i0j/nW/ly5eo1ECT/LK69Jhg8DhFKpHuKNLsCUOZPQJImVIUhKBXg9EKyxlQjGAWIW2O97QZATnMK4IzhUlsmZqQbGgsfBSKGpd06H9y+l7t/EsIOTtBe9T362vOUwIncPq6miwx6vP6+IzTPoak=; X-YMail-OSG: 4frF8xcVM1kZlJlJIt1B_eXbDyIhGCqyhebP3Lw3cG25.FK8b.rybMgBK12HlTmJVD6sdZqJjsYnvYtuPObvuCAGU7cq0ctb2lRKhUBTWARpnMERGX4Yafn6NB2UpQ-- Received: from [128.61.122.59] by web36802.mail.mud.yahoo.com via HTTP; Tue, 03 Apr 2007 14:53:50 PDT Date: Tue, 3 Apr 2007 14:53:50 -0700 (PDT) From: MicazMAK Subject: Collecting table values into a variable To: pgsql-interfaces@postgresql.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1981508123-1175637230=:90587" Content-Transfer-Encoding: 8bit Message-ID: <955194.90587.qm@web36802.mail.mud.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.921 tagged_above=0 required=5 tests=AWL=-0.332, BAYES_00=-2.599, DNS_FROM_RFC_ABUSE=0.2, DNS_FROM_RFC_POST=1.708, DNS_FROM_RFC_WHOIS=1.447, HTML_40_50=0.496, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200704/3 X-Sequence-Number: 6491 --0-1981508123-1175637230=:90587 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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. --0-1981508123-1175637230=:90587 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
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. --0-1981508123-1175637230=:90587--