ALTER CAST

From: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: ALTER CAST
Date: 2009-05-26 21:14:23
Message-ID: 3073cc9b0905261414i2f69aad6j54f03f3d3f27c151@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi, any reason not to implement an ALTER CAST statement?

the situation where i need it is for migration... i'm currently
migrating an application from sql server. and in sql server the cast
from int to bool seems like it is implicit and the application makes
use of that...now, instead of changing the whole application is far
more convenient to alter the cast (int as bool) to make it implicit
but the only way to do it is via alter catalogs...

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-05-26 21:24:51 Re: generic options for explain
Previous Message Robert Haas 2009-05-26 20:22:20 Re: generic options for explain