Re: Sending queries directly

From: Chris Browne <cbbrowne(at)acm(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Sending queries directly
Date: 2008-03-26 20:25:58
Message-ID: 60bq516xm1.fsf@dba2.int.libertyrms.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

pedrobelmino(at)gmail(dot)com ("Pedro Belmino") writes:
> I am creating an agent that runs alongside the postgres written in
> c++, I have a question: How send sql queries directly for the
> database without going need to make any > connection? > What I
> call function, which I use file?

You don't do that; your agent should use libpq to establish a
connection just like everyone else.
--
(format nil "~S(at)~S" "cbbrowne" "cbbrowne.com")
http://cbbrowne.com/info/linux.html
I just removed the instructions in MC:COMMON;LINS > which specify that
it should be installed on AI. We'll certainly miss that machine, and
probably spend the rest of our lives fixing programs that mention it.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2008-03-26 20:51:07 Re: Proposal: improve shutdown during online backup
Previous Message Gurjeet Singh 2008-03-26 19:01:29 Re: HELP