X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 6BEC09DCD4A for ; Fri, 23 Dec 2005 07:57:25 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 53333-05 for ; Fri, 23 Dec 2005 07:57:27 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from altrade.nijmegen.internl.net (altrade.nijmegen.internl.net [217.149.192.18]) by postgresql.org (Postfix) with ESMTP id 9C15B9DCD3A for ; Fri, 23 Dec 2005 07:57:21 -0400 (AST) Received: from aarjan2 by altrade.nijmegen.internl.net via h233036.upc-h.chello.nl [62.194.233.36] with ESMTP for id jBNBvDB0022319 (8.13.2/2.04); Fri, 23 Dec 2005 12:57:22 +0100 (MET) Message-ID: <000a01c607b7$f0bc4e00$3e01a8c0@aarjan2> From: "A.j. Langereis" To: References: <001401c60749$bd1ab910$6500a8c0@aarjan2> <20051223095203.GA9789@soptik.pzkagis.cz> Subject: Re: Values in the select Date: Fri, 23 Dec 2005 12:56:41 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.031 required=5 tests=[AWL=0.030, UNPARSEABLE_RELAY=0.001] X-Spam-Score: 0.031 X-Spam-Level: X-Archive-Number: 200512/305 X-Sequence-Number: 6784 Dear Luf, The connectionstring that is used is the following: Provider=MSDASQL.1;Password=;Persist Security Info=True;User ID=intwis2;Data Source=PostgreSQL;Extended Properties="DSN=PostgreSQL;DATABASE=intwis9;SERVER=localhost;PORT=5432;SSLMO DE=prefer;UID=intwis2;PWD=intwis2;ReadOnly=0;Protocol=6.4;FakeOidIndex=0;Sho wOidColumn=0;RowVersioning=0;ShowSystemTables=0;ConnSettings=;Fetch=100;Sock et=8192;UnknownSizes=0;MaxVarcharSize=254;MaxLongVarcharSize=8190;Debug=0;Co mmLog=0;Optimizer=1;Ksqo=1;UseDeclareFetch=0;TextAsLongVarchar=1;UnknownsAsL ongVarchar=0;BoolsAsChar=1;Parse=0;CancelAsFreeStmt=0;ExtraSysTablePrefixes= dd_;;LFConversion=1;UpdatableCursors=0;DisallowPremature=0;TrueIsMinus1=0;BI =0;ByteaAsLongVarBinary=0;UseServerSidePrepare=0;LowerCaseIdentifier=0" The contents of psqlodbc_2972.log: conn=120025968, PGAPI_DriverConnect( in)='DSN=PostgreSQL;UID=intwis2;PWD=xxxxxxx;', fDriverCompletion=0 DSN info: DSN='PostgreSQL',server='localhost',port='5432',dbase='intwis9',user='intwis 2',passwd='xxxxx' onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0' conn_settings='',conn_encoding='OTHER' translation_dll='',translation_option='' And of mylog_2972.log [144]globals.extra_systable_prefixes = 'dd_;' [144][[SQLAllocHandle]][144]**** in PGAPI_AllocEnv ** [144]** exit PGAPI_AllocEnv: phenv = 120063888 ** [144][[SQLSetEnvAttr]] att=200,2 [144][[SQLAllocHandle]][144]PGAPI_AllocConnect: entering... [144]**** PGAPI_AllocConnect: henv = 120063888, conn = 120025968 [144]EN_add_connection: self = 120063888, conn = 120025968 [144] added at i =0, conn->henv = 120063888, conns[i]->henv = 120063888 [144][SQLGetInfo(30)][144]PGAPI_GetInfo: entering...fInfoType=77 [144]PGAPI_GetInfo: p='03.00', len=5, value=0, cbMax=12 [144][[SQLSetConnectAttr]] 103 [144]PGAPI_SetConnectAttr 103 [144]PGAPI_SetConnectOption: entering fOption = 103 vParam = 15 [144][SQLDriverConnect][144]PGAPI_DriverConnect: entering... [144]**** PGAPI_DriverConnect: fDriverCompletion=0, connStrIn='DSN=PostgreSQL;UID=intwis2;PWD=xxxxxxx;' [144]our_connect_string = 'DSN=PostgreSQL;UID=intwis2;PWD=xxxxxxx;' [144]attribute = 'DSN', value = 'PostgreSQL' [144]copyAttributes: DSN='PostgreSQL',server='',dbase='',user='',passwd='xxxxx',port='',sslmode=' ',onlyread='',protocol='',conn_settings='',disallow_premature=-1) [144]attribute = 'UID', value = 'intwis2' [144]copyAttributes: DSN='PostgreSQL',server='',dbase='',user='intwis2',passwd='xxxxx',port='',ss lmode='',onlyread='',protocol='',conn_settings='',disallow_premature=-1) [144]attribute = 'PWD', value = 'xxxxx' [144]copyAttributes: DSN='PostgreSQL',server='',dbase='',user='intwis2',passwd='xxxxx',port='',ss lmode='',onlyread='',protocol='',conn_settings='',disallow_premature=-1) [144]globals.extra_systable_prefixes = 'dd_;' [144]globals.extra_systable_prefixes = 'dd_;' [144]our_connect_string = 'DSN=PostgreSQL;UID=intwis2;PWD=xxxxxxx;' [144]attribute = 'DSN', value = 'PostgreSQL' [144]CopyCommonAttributes: A7=100;A8=8192;A9=0;B0=254;B1=8190;B2=0;B3=0;B4=1;B5=1;B6=0;B7=1;B8=0;B9=1;C 0=0;C1=0;C2=dd_;[144]attribute = 'UID', value = 'intwis2' [144]CopyCommonAttributes: A7=100;A8=8192;A9=0;B0=254;B1=8190;B2=0;B3=0;B4=1;B5=1;B6=0;B7=1;B8=0;B9=1;C 0=0;C1=0;C2=dd_;[144]attribute = 'PWD', value = 'xxxxx' [144]CopyCommonAttributes: A7=100;A8=8192;A9=0;B0=254;B1=8190;B2=0;B3=0;B4=1;B5=1;B6=0;B7=1;B8=0;B9=1;C 0=0;C1=0;C2=dd_;[144]PGAPI_Disconnect: about to CC_cleanup [144]in CC_Cleanup, self=120025968 [144]after CC_abort [144]entering PGCONN_Destructor [144]exiting PGCONN_Destructor [144]after LIBPQ destructor [144]exit CC_Cleanup [144]PGAPI_Disconnect: done CC_cleanup [144]PGAPI_Disconnect: returning... [144][[SQLFreeHandle]][144]PGAPI_FreeConnect: entering... [144]**** in PGAPI_FreeConnect: hdbc=120025968 [144]enter CC_Destructor, self=120025968 [144]in CC_Cleanup, self=120025968 [144]after LIBPQ destructor [144]exit CC_Cleanup [144]after CC_Cleanup [144]after free statement holders [144]exit CC_Destructor [144]PGAPI_FreeConnect: returning... [144][[SQLFreeHandle]][144]**** in PGAPI_FreeEnv: env = 120063888 ** [144]in EN_Destructor, self=120063888 [144]exit EN_Destructor: rv = 1 [144] ok Unfortunately I did not find version 08.01.0104 on the postgresql web site (http://www.postgresql.org/ftp/odbc/versions/msi/), where can I find it? I've tested it with the Unicode version and the same problem occours. Yours, Aarjan ----- Original Message ----- From: "Ludek Finstrle" To: "A.j. Langereis" Cc: Sent: Friday, December 23, 2005 10:52 AM Subject: Re: [ODBC] Values in the select > > The version of ODBC that I've got installed is 08.00.0102 (via MSI installed). > > Has Unicode version same problem? Could you try psqlodbc 08.01.0104? > Do you get same result? > > If there is still the problem could you send here mylog output? > > I can't see how you connect to pgsql (what options do you use?). > > Regards, > > Luf > > ---------------------------(end of broadcast)--------------------------- > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > >