Re: CONVERT function is seriously broken

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: CONVERT function is seriously broken
Date: 2002-11-02 05:00:17
Message-ID: 17803.1036213217@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Tom Lane wrote:
>> Unfortunately, I don't see any way offhand to fix this without an
>> initdb :-(.

> Ooch, that hurts. How bad would it be if it was broken in 7.3?

We could dike out the feature:

convert_list:
a_expr USING any_name
{
elog(ERROR, "CONVERT(... USING ...) is not implemented");
}

Short of that, I think we need an initdb to change the function
signature for the convert() function. It needs to take a (suitably
quoted) text parameter, not an OID.

Since we forced initdb only a week ago with beta3, I don't think there
is really a strong argument against doing it again. But probably Marc
will say that we need a beta4 at this point, instead of going for RC1...

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rod Taylor 2002-11-02 05:04:56 Re: 7.3B3 psql talking to a 7.2.3 server?
Previous Message Tom Lane 2002-11-02 04:52:33 Re: 7.2.3 vacuum bug