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

Re: remove convert using

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: remove convert using
Date: 2007-09-23 23:59:01
Message-ID: 46F6FDC5.5050501@dunslane.net (view raw or flat)
Thread:
Lists: pgsql-patches

Tom Lane wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>   
>> The attached patch removes "convert ... using ..." as recently discussed 
>> on -hackers. Most of the patch is regression test changes.
>>     
>
> You should be able to remove CONVERT as a grammar keyword altogether
> -- the remaining production for CONVERT as a function name seems dead
> weight now (not to mention that it prevents having user-defined
> functions named CONVERT).
>
>
>   

I wonderted a bit about that. I thought it might be better to leave it 
in case we wanted to put back "convert using" when we have better 
support for multiple encodings (and maybe when we understand better what 
it is actually supposed to do).

But I have no strong opinions on the subject.

cheers

anmdrew

In response to

Responses

pgsql-patches by date

Next:From: Tom LaneDate: 2007-09-24 00:27:30
Subject: Re: remove convert using
Previous:From: Tom LaneDate: 2007-09-23 23:51:42
Subject: Re: remove convert using

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