From: | Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Bill Studenmund <wrstuden(at)netbsd(dot)org>, Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>, PostgreSQL Development <pgsql-hackers(at)postgreSQL(dot)org>, Fernando Nasser <fnasser(at)redhat(dot)com> |
Subject: | Re: RFD: schemas and different kinds of Postgres objects |
Date: | 2002-01-28 01:33:05 |
Message-ID: | 3C54AA51.64CE68AD@tpf.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Is *the path* below the same as "search path* in other
postings about this thread ?
Maybe Peter's posting isn't the one exactly what I have to
ask but there are too many postings for me to follow.
regards,
Hiroshi Inoue
Peter Eisentraut wrote:
>
> Bill Studenmund writes:
>
> > Does SQL'99 say anything about this?
>
> Yes, though, as usual, you have to twist your brain a little to understand
> it. My understanding is that for a function call of the form "foo(a, b)"
> it goes like this:
>
> 1. Find all functions named "foo" in the current database. This is the
> set of "possibly candidate routines".
>
> 2. Drop all routines that you do not have EXECUTE privilege for. This is
> the set of "executable routines".
>
> 3. Drop all routines that do not have compatible parameter lists. This is
> the set of "invocable routines".
>
> 4. Drop all routines whose schema is not in the path. This is the set of
> "candidate routines".
>
> 5. If you have more than one routine left, eliminate some routines
> according to type precedence rules. (We do some form of this, SQL99
> specifies something different.) This yields the set of "candidate subject
> routines".
>
> 6. Choose the routine whose schema is earliest in the path as the "subject
> routine".
>
> Execute the subject routine. Phew!
>
> This doesn't look glaringly wrong to me, so maybe you want to consider it.
> Please note step 2.
>
> --
> Peter Eisentraut peter_e(at)gmx(dot)net
From | Date | Subject | |
---|---|---|---|
Next Message | Lamar Owen | 2002-01-28 04:46:58 | Re: [HACKERS] PostgreSQL v7.2rc2 Released |
Previous Message | Thomas O'Dowd | 2002-01-28 01:29:39 | Re: Bad Timestamp Format |