X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 80B7C9FB20C for ; Thu, 21 Sep 2006 10:24:40 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 96247-06 for ; Thu, 21 Sep 2006 10:24:27 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from vserver0202.onit4u.de (ns.redaex.de [213.133.112.5]) by postgresql.org (Postfix) with ESMTP id 1D5579FA4D0 for ; Thu, 21 Sep 2006 10:24:26 -0300 (ADT) Received: from joops.com (dslb-084-057-058-079.pools.arcor-ip.net [84.57.58.79]) by vserver0202.onit4u.de (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id k8LDP4r07133 for ; Thu, 21 Sep 2006 15:25:05 +0200 Message-ID: <45129202.3070600@joops.com> Date: Thu, 21 Sep 2006 15:22:10 +0200 From: Josef Springer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en-us, de-de MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Problem to connect to the server Content-Type: multipart/alternative; boundary="------------060606090702020407050909" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.163 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, HTML_30_40, HTML_MESSAGE, SPF_SOFTFAIL X-Spam-Level: * X-Archive-Number: 200609/84 X-Sequence-Number: 8235 --------------060606090702020407050909 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi folks, we use PostgreSQL 8.1 and the ODBC PostgreSQL Unicode 8.01.02.00 / 31.1.2006. My application can connect on the localhost but not to a remote server. I have switched on the ODBC logging, but i cannot found why ? The logfiles: psqlodbc.780.log DSN info: DSN='PostgreSQL',server='',port='5432',dbase='',user='',passwd='xxxxx' onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0' conn_settings='',conn_encoding='OTHER' translation_dll='',translation_option='' conn = 70792624, PGAPI_Connect(DSN='PostgreSQL', UID='OfficeTalk', PWD='xxxxx') Global Options: Version='08.01.0100', fetch=100, socket=0, unknown_sizes=254, max_varchar_size=8190, max_longvarchar_size=70792752 disable_optimizer=1, ksqo=1, unique_index=1, use_declarefetch=0 text_as_longvarchar=1, unknowns_as_longvarchar=0, bools_as_char=1 NAMEDATALEN=64 extra_systable_prefixes='dd_;', conn_settings='' conn_encoding='OTHER' CONN ERROR: func=PGAPI_Connect, desc='Error on CC_connect', errnum=201, errmsg='Missing server name, port, or database name in call to CC_connect.' ------------------------------------------------------------ henv=70792568, conn=70792624, status=0, num_stmts=16 ====================================================================== psqlodbc.1148.log DSN info: DSN='PostgreSQL',server='',port='5432',dbase='',user='',passwd='xxxxx' onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0' conn_settings='',conn_encoding='OTHER' translation_dll='',translation_option='' DSN info: DSN='PostgreSQL',server='SEIFERT',port='5432',dbase='OfficeTalk',user='postgres',passwd='xxxxx' onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0' conn_settings='',conn_encoding='OTHER' translation_dll='',translation_option='' Josef --------------060606090702020407050909 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi folks,

we use PostgreSQL 8.1 and the ODBC PostgreSQL Unicode 8.01.02.00 / 31.1.2006.

My application can connect on the localhost but not to a remote server. I have switched on the ODBC logging, but i cannot found why ?

The logfiles:
psqlodbc.780.log
DSN info: DSN='PostgreSQL',server='',port='5432',dbase='',user='',passwd='xxxxx'
          onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0'
          conn_settings='',conn_encoding='OTHER'
          translation_dll='',translation_option=''
conn = 70792624, PGAPI_Connect(DSN='PostgreSQL', UID='OfficeTalk', PWD='xxxxx')
Global Options: Version='08.01.0100', fetch=100, socket=0, unknown_sizes=254, max_varchar_size=8190, max_longvarchar_size=70792752
                disable_optimizer=1, ksqo=1, unique_index=1, use_declarefetch=0
                text_as_longvarchar=1, unknowns_as_longvarchar=0, bools_as_char=1 NAMEDATALEN=64
                extra_systable_prefixes='dd_;', conn_settings='' conn_encoding='OTHER'
CONN ERROR: func=PGAPI_Connect, desc='Error on CC_connect', errnum=201, errmsg='Missing server name, port, or database name in call to CC_connect.'
            ------------------------------------------------------------
            henv=70792568, conn=70792624, status=0, num_stmts=16

======================================================================
psqlodbc.1148.log
DSN info: DSN='PostgreSQL',server='',port='5432',dbase='',user='',passwd='xxxxx'
          onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0'
          conn_settings='',conn_encoding='OTHER'
          translation_dll='',translation_option=''
DSN info: DSN='PostgreSQL',server='SEIFERT',port='5432',dbase='OfficeTalk',user='postgres',passwd='xxxxx'
          onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0'
          conn_settings='',conn_encoding='OTHER'
          translation_dll='',translation_option=''

Josef 
--------------060606090702020407050909--