From: Vishal Arora <aroravishal22@hotmail.com>
To: vbhatia@ksu.edu
To: pgadmin-support@postgresql.org
Subject: Re: Problem
Date: Mon, 16 Jul 2007 07:49:37 +0000
Message-ID: <BAY123-F10C549F2002BC3B373C59CA9F80@phx.gbl> (raw)
In-Reply-To: <1184456085.46995d95529fa@webmail.ksu.edu>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgadmin-support@postgresql.org
Cc: aroravishal22@hotmail.com, vbhatia@ksu.edu
Subject: Re: Problem
In-Reply-To: <BAY123-F10C549F2002BC3B373C59CA9F80@phx.gbl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox