Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 2EFBF2E01D9 for ; Fri, 7 Mar 2008 09:39:28 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 52985-10 for ; Fri, 7 Mar 2008 09:39:22 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from n7a.bullet.mud.yahoo.com (n7a.bullet.mud.yahoo.com [216.252.100.61]) by postgresql.org (Postfix) with SMTP id 071F22E01D6 for ; Fri, 7 Mar 2008 09:39:21 -0400 (AST) Received: from [68.142.194.244] by n7.bullet.mud.yahoo.com with NNFMP; 07 Mar 2008 13:39:20 -0000 Received: from [209.191.119.153] by t2.bullet.mud.yahoo.com with NNFMP; 07 Mar 2008 13:39:20 -0000 Received: from [127.0.0.1] by omp100.mail.mud.yahoo.com with NNFMP; 07 Mar 2008 13:39:20 -0000 X-Yahoo-Newman-Property: ymail-5 X-Yahoo-Newman-Id: 310526.31674.bm@omp100.mail.mud.yahoo.com Received: (qmail 64235 invoked by uid 60001); 7 Mar 2008 13:39:19 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=4Bn1z0UhLl8VaNXrLv73qPeGLy60599Pn2kitmuJ/rnvVNcH9JtnyjJMLrsbopuepY2cgMkvQei2ksJxbxzUj1SMUFYMtjryq+c2h1nKTp/qNMiWTqFEH3rlwV20ok5bfM5uFCKgy1kQjxvtG7eJzips+hCr+gSF02Yw3ZnCzvk=; X-YMail-OSG: IoRXeJwVM1mX6YNZ7Q9_dvfr8CJVdMEMdXbmGSwp4n7.zFxTF2TvxGSUVHLAcrL20bbLJa20sxY7KSmGUzLgxHDp.kVcY9ViXfbq4dHOxZ2jNXvQAezoYqCOBjU- Received: from [213.83.65.106] by web25806.mail.ukl.yahoo.com via HTTP; Fri, 07 Mar 2008 05:39:18 PST Date: Fri, 7 Mar 2008 05:39:18 -0800 (PST) From: Glyn Astill Subject: Cannot get psqlODBC to work To: pgsql-odbc@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <971610.64044.qm@web25806.mail.ukl.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/15 X-Sequence-Number: 9431 Hi people, I've been trying to use psqlODBC on windows XP to connect to 8.2.5 running on Debian and had no luck whatsoever. I've currently got psqlodbc_08_03_0100 installed using the msi installer, but have tried older versions as well with no change. I've tried using both ANSI and Unicode driver, both have the same problem. The problem is, that I send a query and I seem to get no response. I can see my query in the servers logs, but nothing after that. The server log shows (my query): ---------------------------------------------------------------------- STATEMENT: select * from "Events.SHOW" limit 1 ---------------------------------------------------------------------- The mylog on the client shows: ---------------------------------------------------------------------- [1396-0.000]globals.extra_systable_prefixes = 'dd_;' [1396-0.000]exe name=ODBCView plaformId=2 [1396-0.000][[SQLAllocHandle]][1396-0.000]**** in PGAPI_AllocEnv ** [1396-0.000]** exit PGAPI_AllocEnv: phenv = 010E2980 ** [1396-0.000][[SQLSetEnvAttr]] att=200,3 [1396-0.000][[SQLAllocHandle]][1396-0.000]PGAPI_AllocConnect: entering... [1396-0.000]**** PGAPI_AllocConnect: henv = 010E2980, conn = 010E4308 [1396-0.000]EN_add_connection: self = 010E2980, conn = 010E4308 [1396-0.000] added at 0, conn->henv = 010E2980, conns[0]->henv = 010E2980 [1396-0.015][SQLGetInfoW(30)][1396-0.015]PGAPI_GetInfo: entering...fInfoType=77 [1396-0.015]PGAPI_GetInfo: p='03.51', len=0, value=0, cbMax=12 [1396-0.015][SQLSetConnectAttrW][1396-0.015]PGAPI_SetConnectAttr for 010E4308: 115 00000001 [1396-0.015]the application is ansi [1396-0.015][SQLDriverConnectW][1396-0.015]PGAPI_DriverConnect: entering... [1396-0.015]**** PGAPI_DriverConnect: fDriverCompletion=3, connStrIn='DSN=PostgreSQL30W;' [1396-0.015]our_connect_string = 'DSN=PostgreSQL30W;' [1396-0.015]attribute = 'DSN', value = 'PostgreSQL30W' [1396-0.015]copyAttributes: DSN='PostgreSQL30W',server='',dbase='',user='',passwd='xxxxx',port='',onlyread='',protocol='',conn_settings='',disallow_premature=-1) [1396-0.015]getDSNinfo: DSN=PostgreSQL30W overwrite=0 [1396-0.015]rollback_on_error=1 [1396-0.015]force_abbrev=0 bde=0 cvt_null_date=0 [1396-0.015]globals.extra_systable_prefixes = 'dd_;' [1396-0.015]our_connect_string = 'DSN=PostgreSQL30W;' [1396-0.015]attribute = 'DSN', value = 'PostgreSQL30W' [1396-0.015]copyCommonAttributes: A7=100;A8=4096;A9=0;B0=255;B1=8190;B2=0;B3=0;B4=1;B5=1;B6=0;B7=1;B8=0;B9=1;C0=0;C1=0;C2=dd_; ---------------------------------------------------------------------- The psqlodbc log on the client shows: ---------------------------------------------------------------------- [0.015]conn=010E4308, PGAPI_DriverConnect( in)='DSN=PostgreSQL30W;', fDriverCompletion=3 [0.015]DSN info: DSN='PostgreSQL30W',server='192.168.1.107',port='5432',dbase='SEE',user='glyn',passwd='xxxxx' [0.015] onlyread='0',protocol='7.4',showoid='0',fakeoidindex='0',showsystable='0' [0.015] conn_settings='',conn_encoding='(null)' [0.015] translation_dll='',translation_option='' ---------------------------------------------------------------------- Does anybody know what my problem might be? Thanks Glyn __________________________________________________________ Sent from Yahoo! Mail. The World's Favourite Email http://uk.docs.yahoo.com/nowyoucan.html