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

Re: Re: [INTERFACES] New code for JDBC driver

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Dave Cramer <Dave(at)micro-automation(dot)net>
Cc: Arsalan Zaidi <azaidi(at)directi(dot)com>, PostgreSQL jdbc list <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Re: [INTERFACES] New code for JDBC driver
Date: 2001-06-30 18:35:11
Message-ID: 200106301835.f5UIZBG19403@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-interfacespgsql-jdbc
> Can you give us some background. What is this trying to solve?
> >From the look of it the purpose is to remove embedded semicolons and quotes.
> >From my POV this should be handled by the backend.
> 
> My reasons are as follows:
> 
> 1) Any attempt at parsing the query by the driver will slow the driver down.
> 2) If the purpose of parsing is to make an incorrect query correct; then I
> would prefer the backend fail and make me fix my code.

psql does this kind of query spliting but for different reasons.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

pgsql-interfaces by date

Next:From: jtvDate: 2001-06-30 19:35:08
Subject: Re: libpq++ on Windows
Previous:From: Dave CramerDate: 2001-06-30 18:21:54
Subject: Re: Re: [INTERFACES] New code for JDBC driver

pgsql-jdbc by date

Next:From: Barry LindDate: 2001-07-01 00:01:33
Subject: Patch to remove connection hook and JDK 1.3 dependencies
Previous:From: Dave CramerDate: 2001-06-30 18:21:54
Subject: Re: Re: [INTERFACES] New code for JDBC driver

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