Re: Domains and function arguments - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: Domains and function arguments
Date
Msg-id 200306172143.10659.josh@agliodbs.com
Whole thread Raw
In response to Domains and function arguments  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Tom,

"If you insist on allowing domains in argument lists, then I think the best
approach is this:  For purpose of function resolution, types and all
domains defined over them are equivalent.  That would mean, for example,
that if you define positive_int as domain over int, then you cannot define
foofunc(int) and foofunc(positive_int) as the same time."

As a heavy PL/pgSQL function user, the above sounds completely reasonable & 
workable to me.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco


pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: lots of configure failures on freebsd/alpha
Next
From: Philip Yarra
Date:
Subject: ECPG still having thread problems