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 2E3519DCD24 for ; Sat, 17 Dec 2005 19:12:01 -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 67333-03 for ; Sat, 17 Dec 2005 19:12:01 -0400 (AST) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id 87E779DCD23 for ; Sat, 17 Dec 2005 19:11:57 -0400 (AST) Received: from localhost (av.hub.org [200.46.204.144]) by pgfoundry.org (Postfix) with ESMTP id 1C97D1125070; Sat, 17 Dec 2005 23:12:01 +0000 (GMT) Received: from pgfoundry.org ([200.46.204.130]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 65960-06; Sat, 17 Dec 2005 19:11:57 -0400 (AST) Received: by pgfoundry.org (Postfix, from userid 80) id 897661125042; Sat, 17 Dec 2005 23:11:57 +0000 (GMT) To: noreply@pgfoundry.org From: Subject: =?UTF-8?Q?[_psqlodbc-Bugs-1000488_]_Dollar_quoting_and_'=3f'_in_string_cause_unexpected_error.?= Content-type: text/plain; charset=UTF-8 Message-Id: <20051217231157.897661125042@pgfoundry.org> Date: Sat, 17 Dec 2005 23:11:57 +0000 (GMT) X-Virus-Scanned: by amavisd-new at hub.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=-0.851 required=5 tests=[ALL_TRUSTED=-1.44, AWL=0.039, NO_REAL_NAME=0.55, SUBJECT_EXCESS_QP=0] X-Spam-Score: -0.851 X-Spam-Level: X-Archive-Number: 200512/221 X-Sequence-Number: 6700 Bugs item #1000488, was opened at 2005-12-16 16:31 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000488&group_id=1000125 Category: None Group: None Status: Open >Resolution: Postponed Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: Dollar quoting and '?' in string cause unexpected error. Initial Comment: Trying a command like the following one on VB5: CurrentConnection.Execute "update mytable set myfield=$_$?$_$;", lAffected I got this error: The # of binded parameters < the # of parameter markers The error seems caused by a '?' anywhere in the string, when using dollar quoting. If I escape the '?', like: CurrentConnection.Execute "update mytable set myfield=$_$\?$_$;", lAffected the command works, but the field in the table will contain '\?'. I'm using psqlodbc-08_01_0102 on a Windows 2003 server, with postgresql 8.0.3 on a Ubuntu Linux box. ---------------------------------------------------------------------- >Comment By: Ludek Finstrle (luf) Date: 2005-12-18 00:11 Message: psqlODBC driver doesn't support dollar quoting yet. '?' is character for binding parameters so this is the core of the problem. I don't know when someone write support for this feature. ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000488&group_id=1000125