pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Dave Cramer <Dave@micro-automation.net>
Cc: Arsalan Zaidi <azaidi@directi.com>
Cc: PostgreSQL jdbc list <pgsql-jdbc@postgresql.org>
Subject: Re: Re: [INTERFACES] New code for JDBC driver
Date: Sat, 30 Jun 2001 14:35:11 -0400 (EDT)
Message-ID: <200106301835.f5UIZBG19403@candle.pha.pa.us> (raw)
In-Reply-To: <005301c10191$8ae2ce50$0201a8c0@inspiron>

> 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



view thread (17+ messages)  latest in thread

Message-ID: <200106301835.f5UIZBG19403@candle.pha.pa.us>
Permalink:  ../200106301835.f5UIZBG19403@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200106301835.f5UIZBG19403@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: pgman@candle.pha.pa.us, Dave@micro-automation.net, azaidi@directi.com, pgsql-jdbc@postgresql.org
  Subject: Re: Re: [INTERFACES] New code for JDBC driver
  In-Reply-To: <200106301835.f5UIZBG19403@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox