Unix Technical Forum

Proposed addition to psqlodbc driver

This is a discussion on Proposed addition to psqlodbc driver within the pgsql Interfaces odbc forums, part of the PostgreSQL category; --> Hi, Our app currently runs on SqlServer; we are porting it to run on PostgreSQL. We often have data ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces odbc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-16-2008, 02:01 AM
Ken Shaw
 
Posts: n/a
Default Proposed addition to psqlodbc driver

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
**********************************************




---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:31 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com