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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-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

Browse pgsql-interfaces by date

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

Browse pgsql-jdbc by date

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