pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Wayne Armstrong <wdarmst@bacchus.com.au>
To: pgsql-odbc@postgresql.org
Subject: Problem with backend prepare usin
Date: Sat, 24 May 2003 23:26:19 +1000
Message-ID: <200305241326.h4ODQMbv002011@mail.bacchus.com.au> (raw)
In-Reply-To: <20030214210954.62541.qmail@web20803.mail.yahoo.com>
References: <oprkla1wk4zlvpxd@localhost>
	<20030214210954.62541.qmail@web20803.mail.yahoo.com>

Hi,
  I've been trying to get my app to work using the server side prepare option
in the odbc driver.
  I't dies on the first query - with SQLSTATE=07009 - Invalid column number in
DescribeCol. [Native Error=13]]
  The query being issued is :-
'select current_user as x, current_timestamp as y, current_database() as z'.
 The logs from the server look good :-
2003-05-24 23:15:06 [1541]   LOG:  query: BEGIN;PREPARE _PLAN1202048 as select 
urrent_user as x, current_timestamp as y, current_database() as z;EXECUTE _PLAN
202048                                                                         
2003-05-24 23:15:06 [1541]   LOG:  duration: 0.009996 sec                      
2003-05-24 23:15:06 [1541]   LOG:  query: COMMIT                               
2003-05-24 23:15:06 [1541]   LOG:  duration: 0.001244 sec                      

Has anyone tried this? got it to work?
Is it really part of this release (compiled from source current from the cvs as
at 2003-05-24)? or should I just ignore it for now?

Regards,
Wayne




Message-ID: <200305241326.h4ODQMbv002011@mail.bacchus.com.au>
Permalink:  ../200305241326.h4ODQMbv002011@mail.bacchus.com.au/
Also on:    postgresql.org/message-id/200305241326.h4ODQMbv002011@mail.bacchus.com.au

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: wdarmst@bacchus.com.au
  Subject: Re: Problem with backend prepare usin
  In-Reply-To: <200305241326.h4ODQMbv002011@mail.bacchus.com.au>
  References: <oprkla1wk4zlvpxd@localhost> <20030214210954.62541.qmail@web20803.mail.yahoo.com> <200305241326.h4ODQMbv002011@mail.bacchus.com.au>

* 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