Identifying casts

From: Marc Munro <marc(at)bloodnok(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Identifying casts
Date: 2007-12-07 18:54:07
Message-ID: 1197053647.19457.5.camel@bloodnok.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Is there any way of identifying whether a cast was built-in or is
user-defined?

I am tempted to just assume that if the cast is to/from a user-defined
type or uses a user-defined function that it is user-defined. I suspect
though that a user could define a new cast on pre-defined types using a
pre-defined function.

__
Marc

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Anton Nikiforov 2007-12-07 18:58:02 Pg_catalog reference
Previous Message Bob Pawley 2007-12-07 18:14:46 Re: pg_dump