Re: Domains and function arguments

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Domains and function arguments
Date: 2003-06-18 04:43:10
Message-ID: 200306172143.10659.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-hackers by date

  From Date Subject
Next Message Philip Yarra 2003-06-18 04:58:53 ECPG still having thread problems
Previous Message Christopher Kings-Lynne 2003-06-18 04:37:23 Re: lots of configure failures on freebsd/alpha