Re: Type checking

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Don Y <pgsql(at)DakotaCom(dot)Net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Type checking
Date: 2006-05-16 22:51:07
Message-ID: 12944.1147819867@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Don Y <pgsql(at)DakotaCom(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-05-16 22:53:36 Re: bytea hex input/output
Previous Message Martijn van Oosterhout 2006-05-16 21:29:37 Re: Is it me, or the list?