Re: Auto convert for type?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: karly(at)kipshouse(dot)org
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Auto convert for type?
Date: 2006-03-28 20:34:18
Message-ID: 4869.1143578058@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

karly(at)kipshouse(dot)org writes:
> but that syntax doesn't work. I thought I might be able to create
> my own type, and have an implicit conversion of DATE,

You can *make* an implicit cast from (or to) DATE, but there won't be
one made for you.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message brew 2006-03-28 21:11:13 Re: best practice in upgrading db structure
Previous Message karly 2006-03-28 20:13:06 Auto convert for type?