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 CA3BB9DCD87 for ; Fri, 16 Dec 2005 11:31:54 -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 56312-07 for ; Fri, 16 Dec 2005 11:31:57 -0400 (AST) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id 8FBA89DCC94 for ; Fri, 16 Dec 2005 11:31:50 -0400 (AST) Received: from localhost (av.hub.org [200.46.204.144]) by pgfoundry.org (Postfix) with ESMTP id 5A251112508F; Fri, 16 Dec 2005 15:31:56 +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 54668-09; Fri, 16 Dec 2005 11:31:54 -0400 (AST) Received: by pgfoundry.org (Postfix, from userid 80) id B39401125070; Fri, 16 Dec 2005 15:31:53 +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: <20051216153153.B39401125070@pgfoundry.org> Date: Fri, 16 Dec 2005 15:31:53 +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.86 required=5 tests=[ALL_TRUSTED=-1.44, AWL=0.030, NO_REAL_NAME=0.55, SUBJECT_EXCESS_QP=0] X-Spam-Score: -0.86 X-Spam-Level: X-Archive-Number: 200512/205 X-Sequence-Number: 6684 Bugs item #1000488, was opened at 16/12/2005 15: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: None 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. ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000488&group_id=1000125