Re: Type checking - Mailing list pgsql-general

From Tom Lane
Subject Re: Type checking
Date
Msg-id 12944.1147819867@sss.pgh.pa.us
Whole thread Raw
In response to Type checking  (Don Y <pgsql@DakotaCom.Net>)
List pgsql-general
Don Y <pgsql@DakotaCom.Net> writes:
> I.e., if I have a bunch of functions defined as taking an
> argument of type "foo", is there any way the user can pass
> a value to these functions WITHOUT it going through my
> gatekeepers (foo_in(), foo_from_baz(), etc.)?

No, not if foo is a separate type.  Postgres has absolutely no knowledge
of the internal representation of a base type, and will never manipulate
it except through the routines you supply.

            regards, tom lane

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: Is it me, or the list?
Next
From: Tom Lane
Date:
Subject: Re: bytea hex input/output