Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 64CEF9FB4EB for ; Mon, 16 Jul 2007 04:49:55 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 78933-04 for ; Mon, 16 Jul 2007 04:49:39 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from bay0-omc1-s35.bay0.hotmail.com (bay0-omc1-s35.bay0.hotmail.com [65.54.246.107]) by postgresql.org (Postfix) with ESMTP id 5EA6A9FB48A for ; Mon, 16 Jul 2007 04:49:51 -0300 (ADT) Received: from hotmail.com ([207.46.11.90]) by bay0-omc1-s35.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Mon, 16 Jul 2007 00:49:40 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 16 Jul 2007 00:49:41 -0700 Message-ID: Received: from 207.46.11.123 by by123fd.bay123.hotmail.msn.com with HTTP; Mon, 16 Jul 2007 07:49:37 GMT X-Originating-IP: [59.160.193.34] X-Originating-Email: [aroravishal22@hotmail.com] X-Sender: aroravishal22@hotmail.com In-Reply-To: <1184456085.46995d95529fa@webmail.ksu.edu> From: "Vishal Arora" To: vbhatia@ksu.edu, pgadmin-support@postgresql.org Subject: Re: Problem Date: Mon, 16 Jul 2007 07:49:37 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 16 Jul 2007 07:49:41.0034 (UTC) FILETIME=[DDDB88A0:01C7C77D] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/38 X-Sequence-Number: 7246 Hi Just check the following link - http://www.postgresql.org/docs/8.2/interactive/libpq.html You can find the inbuilt functions to fetch data from PostgreSQL using C as frontend. You can use any C complier such as GCC to compile your application just use with -lpq directive. - Vishal >From: vbhatia@ksu.edu >To: pgadmin-support@postgresql.org >Subject: [pgadmin-support] Problem >Date: Sat, 14 Jul 2007 18:34:45 -0500 > >Hello there, > >I am new to PostGreSql and using it for the first time and need your >assistance regarding that. I have Postgresql installed as an included >software in MoteWorks. It is installed in C:/Program Files/PostGreSql. >I have an application that is logging the data into the database . I >want to write an application in C or Java that would retrieve a >particular reading from the database each and every time the database >is changed. > >I cannot find any guideline regarding that and do not know how to >compile the sample applications I found on the net ( postgresql.com). >Could u please guide me as to how to compile and run those applications >in C or java that can interact with the PostGreSql database. > >I am in midst of a project and completely stuck at this point , so >please help me asap. > >Best Regards, >Vishal Bhatia > > >---------------------------(end of broadcast)--------------------------- >TIP 6: explain analyze is your friend _________________________________________________________________ Local listings, incredible imagery, and driving directions - all in one place! http://maps.live.com/?wip=69&FORM=MGAC01