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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Re: [INTERFACES] New code for JDBC driver
Дата
Msg-id 200106301835.f5UIZBG19403@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Re: [INTERFACES] New code for JDBC driver  ("Dave Cramer" <Dave@micro-automation.net>)
Список 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 по дате отправления:

Предыдущее
От: "Dave Cramer"
Дата:
Сообщение: Re: Re: [INTERFACES] New code for JDBC driver
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: RE: Todo/missing? (was Re: [ADMIN] High memory usage [PATCH])