Skip site navigation (1) Skip section navigation (2)

Re: BUG #4927: psql does "spoil" the query before sending it to server

From: Euler Taveira de Oliveira <euler(at)timbira(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: handling numeric literals with dots in psql copy command <filip(dot)rembialkowski(at)gmail(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4927: psql does "spoil" the query before sending it to server
Date: 2009-07-18 02:09:54
Message-ID: 4A612EF2.3020801@timbira.com (view raw or flat)
Thread:
Lists: pgsql-bugs
Tom Lane escreveu:
> Euler Taveira de Oliveira <euler(at)timbira(dot)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/

In response to

pgsql-bugs by date

Next:From: Tom LaneDate: 2009-07-18 19:17:46
Subject: Re: bug or simply not enough stack space?
Previous:From: Tom LaneDate: 2009-07-17 23:23:37
Subject: Re: BUG #4926: too few pathkeys for mergeclauses

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group