pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
 [ psqlodbc-Bugs-1000488 ] Dollar quoting and '?' in string cause unexpected error.
3+ messages / 1 participants
[nested] [flat]

*  [ psqlodbc-Bugs-1000488 ] Dollar quoting and '?' in string cause unexpected error.
@ 2005-12-16 15:31 noreply@pgfoundry.org
  0 siblings, 0 replies; 3+ messages in thread

From: noreply@pgfoundry.org @ 2005-12-16 15:31 UTC (permalink / raw)
  To: noreply@pgfoundry.org

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

*  [ psqlodbc-Bugs-1000488 ] Dollar quoting and '?' in string cause unexpected error.
@ 2005-12-17 23:11 noreply@pgfoundry.org
  0 siblings, 0 replies; 3+ messages in thread

From: noreply@pgfoundry.org @ 2005-12-17 23:11 UTC (permalink / raw)
  To: noreply@pgfoundry.org

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* [ psqlodbc-Bugs-1000488 ] Dollar quoting and '?' in string cause unexpected error.
@ 2006-01-18 10:19 noreply@pgfoundry.org
  0 siblings, 0 replies; 3+ messages in thread

From: noreply@pgfoundry.org @ 2006-01-18 10:19 UTC (permalink / raw)
  To: noreply@pgfoundry.org

Bugs item #1000488, was opened at 2005-12-16 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: Closed
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: Dave Page  (dpage)
Date: 2006-01-18 10:19

Message:
Bug closed - this is not a bug, but unsupported use of the driver.

----------------------------------------------------------------------

Comment By: Ludek Finstrle (luf)
Date: 2005-12-17 23: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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2006-01-18 10:19 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-12-16 15:31  [ psqlodbc-Bugs-1000488 ] Dollar quoting and '?' in string cause unexpected error. noreply@pgfoundry.org
2005-12-17 23:11  [ psqlodbc-Bugs-1000488 ] Dollar quoting and '?' in string cause unexpected error. noreply@pgfoundry.org
2006-01-18 10:19 [ psqlodbc-Bugs-1000488 ] Dollar quoting and '?' in string cause unexpected error. noreply@pgfoundry.org

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox