Re: Re: [INTERFACES] New code for JDBC driver - Mailing list pgsql-jdbc

From Bruce Momjian
Subject Re: Re: [INTERFACES] New code for JDBC driver
Date
Msg-id 200106301835.f5UIZBG19403@candle.pha.pa.us
Whole thread Raw
In response to Re: Re: [INTERFACES] New code for JDBC driver  ("Dave Cramer" <Dave@micro-automation.net>)
List 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@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-jdbc by date:

Previous
From: "Dave Cramer"
Date:
Subject: Re: Re: [INTERFACES] New code for JDBC driver
Next
From: Peter Eisentraut
Date:
Subject: Re: RE: Todo/missing? (was Re: [ADMIN] High memory usage [PATCH])