Re: [HACKERS] Sending queries directly

2008-03-26 Thread Chris Browne
[EMAIL PROTECTED] ("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 tha

Re: [HACKERS] Sending queries directly

2008-03-26 Thread Andrew Dunstan
Pedro Belmino wrote: Hello, 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 can't. Why can't you use a connecti

Re: [HACKERS] Sending queries directly

2008-03-26 Thread Heikki Linnakangas
Pedro Belmino wrote: 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? You can't. Why would you not want to open a connection? -- Heikki Linnakangas Enterprise

[HACKERS] Sending queries directly

2008-03-26 Thread Pedro Belmino
Hello, 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? Thanks, -- Pedro Belmino. ---