pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Johann Zuschlag <zuschlag2@online.de>
To: pgsql-odbc@postgresql.org
To: dpage@vale-housing.co.uk
Subject: Bug in libpq version
Date: Tue, 02 Aug 2005 21:26:37 +0200
Message-ID: <42EFC8ED.30500@online.de> (raw)

Hi Dave,

even though I would like to test the new driver, I can't connect with my 
software to the database. The log snippets below state that there is no 
database. If I switch to the old driver (08.00.0102) everything works.

regards

Johann

mylog:

[1776]inside if loop got no result from the empty query.  (probably 
database does not exist)
[1776]send_query: done sending query
[1776]QR_fetch_tuples: cursor = '', self->cursor=0
[1776]QR_fetch_tuples: past CI_read_fields: num_fields = 0

psqlodbc:

STATEMENT ERROR: func=SC_execute, desc='', errnum=7, errmsg='Error while 
executing the query'
                 
------------------------------------------------------------
                 hdbc=33961320, stmt=33973256, result=33978024
                 manual_result=1, prepare=0, internal=0
                 bindings=0, bindings_allocated=0
                 parameters=0, parameters_allocated=0
                 statement_type=0, statement='select oid from pg_type 
where typname='lo''
                 stmt_with_params='declare SQL_CUR02066408 cursor for 
select oid from pg_type where typname='lo''
                 data_at_exec=-1, current_exec_param=-1, put_data=0
                 currTuple=-1, current_col=-1, lobj_fd=-1
                 maxRows=0, rowset_size=1, keyset_size=0, cursor_type=0, 
scroll_concurrency=1
                 cursor_name='SQL_CUR02066408'
                 ----------------QResult Info 
-------------------------------
                 fields=33978160, manual_tuples=0, backend_tuples=0, 
tupleField=0, conn=33961320
                 fetch_count=101, num_total_rows=0, num_fields=0, 
cursor='(NULL)'
                 message='(NULL)', command='(NULL)', notice='(NULL)'
                 status=7, inTuples=1
CONN ERROR: func=SC_execute, desc='', errnum=105, errmsg='The database 
does not exist on the server'
            ------------------------------------------------------------
            henv=33961264, conn=33961320, status=0, num_stmts=16
conn=33961320, query='select pg_client_encoding()'





view thread (2+ messages)  latest in thread

Message-ID: <42EFC8ED.30500@online.de>
Permalink:  ../42EFC8ED.30500@online.de/
Also on:    postgresql.org/message-id/42EFC8ED.30500@online.de

 · 

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: zuschlag2@online.de, dpage@vale-housing.co.uk
  Subject: Re: Bug in libpq version
  In-Reply-To: <42EFC8ED.30500@online.de>
  References: <42EFC8ED.30500@online.de>

* 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