> 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