[GENERAL] PQexecParams and CURSOR

2005-01-14 Thread Laurent Marzullo
aramValues, NULL, NULL, 0); ); res = PQexecParams( conn , "FETCH 1 FROM MY_CURSOR", 1, NULL, paramValues, NULL, NULL, 0); => Error: FETCH failed: ERROR: bind message supplies 1 parameters, but prepared statement "" requires 0 PLEASE, COULD YOU HELP

Re: [GENERAL] PQexecParams and CURSOR

2005-01-17 Thread Laurent Marzullo
Hello, Ok so here is the full TEST program I try to run: (It's a cut/paste + modification of program from PostgreSQL doc) Thanks for any further help. Laurent Marzullo === // vim:set ts=4 sts=4 sw=4 expandtab: #include #in

Re: [GENERAL] PQexecParams and CURSOR

2005-01-17 Thread Laurent Marzullo
On Mon, Jan 17, 2005 at 11:28:57AM +0100, Laurent Marzullo wrote: > > // res = PQexec( conn , "FETCH 1 FROM MY_CURSOR" ); > The above should work if you uncomment it and comment out or remove > the other two attempts to execute FETCH. On my machine (2.6.7-gen

Re: [GENERAL] PQexecParams and CURSOR

2005-01-18 Thread Laurent Marzullo
ok. Thanks all for you help. I will take a look to 8.0 Laurent Marzullo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Michael Fuhr Sent: Monday, January 17, 2005 5:59 PM To: Laurent Marzullo Cc: pgsql-general@postgresql.org Subject: Re: [GENERAL

[GENERAL] Transaction XID

2004-06-30 Thread laurent . marzullo
nsactions CORBA service for postgreSQL. My first idea was to pass as binary data the PGconn from process A to process B by writing it in the file system, but I do not know how to get the size of the PGconn structure ? And, is this will work ? Thanks & regards Laurent Marzullo ---

[GENERAL] Gnome-DB

1999-06-11 Thread Laurent Marzullo
Hello, Is there anybody who's already used Gnome-DB with PostGreSQL ?? +--+ | Marzullo Laurent | | SEMA-GROUP Belgium S.A. | | Tél: (32) 2 333 52 43| | e-mail: [EMAIL PROTECTED] | +---