pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ken Shaw <kshaw@belarc.com>
To: pgsql-odbc@postgresql.org
Subject: Proposed addition to psqlodbc driver
Date: Wed, 12 Jan 2005 18:03:33 -0500
Message-ID: <002e01c4f8fa$f0b08830$800101df@xyz> (raw)

Hi,

Our app currently runs on SqlServer; we are porting it to run on
PostgreSQL.

We often have data that has a backslash in it, which is an escape
character in PostgreSQL for both string literals and LIKE patterns.
This special treatment of backslash in PostgreSQL breaks our code in
numerous places.

We have eliminated 99% of these problems by modifying the driver so that
the driver escapes the backslash in string literals and in LIKE string
literal patterns.  (That is, it inserts extra backslashes).  We have
made this handling be optional by adding an "Escape Backslash" checkbox
in the "Datasource" "Advanced Options" dialog, so that users and
applications that need the standard behavior have it.

Please let me know whether you would you be interested in making this
part of the standard driver or need more information.



Best Regards,
Ken Shaw

**********************************************
Ken Shaw
Belarc, Inc. - "PC Management for the Internet Age"
phone:     734-971-1445
fax:       509-277-0391
email:     kshaw@belarc.com
web:       http://www.belarc.com
**********************************************
 





Message-ID: <002e01c4f8fa$f0b08830$800101df@xyz>
Permalink:  ../002e01c4f8fa$f0b08830$800101df@xyz/
Also on:    postgresql.org/message-id/002e01c4f8fa$f0b08830$800101df@xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: kshaw@belarc.com
  Subject: Re: Proposed addition to psqlodbc driver
  In-Reply-To: <002e01c4f8fa$f0b08830$800101df@xyz>
  References: <002e01c4f8fa$f0b08830$800101df@xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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