Re: Porting MySQL data types to PostgreSQL - Mailing list pgsql-general

From Tom Lane
Subject Re: Porting MySQL data types to PostgreSQL
Date
Msg-id 19363.1185892343@sss.pgh.pa.us
Whole thread Raw
In response to Re: Porting MySQL data types to PostgreSQL  (ptjm@interlog.com (Patrick TJ McPhee))
List pgsql-general
ptjm@interlog.com (Patrick TJ McPhee) writes:
> One problem with this idea is the treatment of implicit casts between
> numeric types in TypeCategory(). For implicit casts to work, the type's
> OID has to be listed in that function (i.e., it has to be a built-in type).

That's not the case.  There probably are some things that won't work
nicely if TypeCategory() doesn't recognize the type as numeric category,
but to claim that implicit casts won't work at all is wrong.

            regards, tom lane

pgsql-general by date:

Previous
From: "Nicola Benaglia"
Date:
Subject: huge file in pg_xlog and base
Next
From: Tom Lane
Date:
Subject: Re: Error restarting postmaster