Re: BUG #4927: psql does "spoil" the query before sending it to server - Mailing list pgsql-bugs

From Euler Taveira de Oliveira
Subject Re: BUG #4927: psql does "spoil" the query before sending it to server
Date
Msg-id 4A612EF2.3020801@timbira.com
Whole thread Raw
In response to Re: BUG #4927: psql does "spoil" the query before sending it to server  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Tom Lane escreveu:
> Euler Taveira de Oliveira <euler@timbira.com> writes:
>> Why are we analysing the query there? One possible fix is to remove the '.' as
>> delimiter in strtokx(). The trivial patch is attached.
>
> Surely that would break a lot of other cases.
>
Why? Even if it can't catch all cases when we remove the '.', the query will
be parsed (again) by PostgreSQL.


--
  Euler Taveira de Oliveira
  http://www.timbira.com/

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #4926: too few pathkeys for mergeclauses
Next
From: Tom Lane
Date:
Subject: Re: bug or simply not enough stack space?