Skip site navigation (1) Skip section navigation (2)

Re: New code for JDBC driver

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Arsalan Zaidi <azaidi(at)directi(dot)com>
Cc: <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: New code for JDBC driver
Date: 2001-07-01 00:08:57
Message-ID: Pine.LNX.4.30.0107010206170.880-100000@peter.localdomain (view raw or flat)
Thread:
Lists: pgsql-interfacespgsql-jdbc
Arsalan Zaidi writes:

> I've changed the code in Connection.escapeSQL() to look for semicolons
> outside '' and ""'s.

Why?  AFAICT, your code doesn't have any side effects and it also doesn't
have anything to do with what EscapeSQL is supposed to do.

-- 
Peter Eisentraut   peter_e(at)gmx(dot)net   http://funkturm.homeip.net/~peter


In response to

pgsql-interfaces by date

Next:From: Peter EisentrautDate: 2001-07-01 00:11:45
Subject: Re: libpq++ on Windows
Previous:From: jtvDate: 2001-06-30 19:35:08
Subject: Re: libpq++ on Windows

pgsql-jdbc by date

Next:From: Barry LindDate: 2001-07-01 00:25:13
Subject: Patch to set timezone once instead of every call
Previous:From: Barry LindDate: 2001-07-01 00:01:33
Subject: Patch to remove connection hook and JDK 1.3 dependencies

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group