Re: Sending queries directly - Mailing list pgsql-hackers

From Chris Browne
Subject Re: Sending queries directly
Date
Msg-id 60bq516xm1.fsf@dba2.int.libertyrms.com
Whole thread Raw
In response to Sending queries directly  ("Pedro Belmino" <pedrobelmino@gmail.com>)
List pgsql-hackers
pedrobelmino@gmail.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@~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.


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Proposal: improve shutdown during online backup
Next
From: Neil Conway
Date:
Subject: Re: Surfacing qualifiers