X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 9EE86529AB for ; Tue, 2 Aug 2005 16:26:50 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 85274-10 for ; Tue, 2 Aug 2005 19:26:45 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by svr1.postgresql.org (Postfix) with ESMTP id A3B9652909 for ; Tue, 2 Aug 2005 16:26:43 -0300 (ADT) Received: from p5089BCA3.dip.t-dialin.net [80.137.188.163] (helo=[192.168.1.121]) by mrelayeu.kundenserver.de with ESMTP (Nemesis), id 0MKwpI-1E02PR0CXR-0007kz; Tue, 02 Aug 2005 21:26:41 +0200 Message-ID: <42EFC8ED.30500@online.de> Date: Tue, 02 Aug 2005 21:26:37 +0200 From: Johann Zuschlag User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: pgsql-odbc@postgresql.org, dpage@vale-housing.co.uk Subject: Bug in libpq version Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de login:412dbd38c76468b7d75e624f8951f259 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200508/25 X-Sequence-Number: 5664 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()'