Jeevan Chalke <[email protected]> writes:
> I am more concerned about this:
> 1.
> postgres=# create or replace function
> f1(a abc.test.id%type) returns int as
> $$ select 1; $$
> language sql;
> ERROR: schema "abc" does not exist
> Is that expected?
Yes, or at least, if it's not what we want it's not this patch's fault.
That behavior is pre-existing.
> Also what about pushing setup_parser_errposition_callback() inside
> func_get_detail() as well, just to limit it for namespace lookup?
Adding a pstate parameter to func_get_detail would be rather invasive;
not sure it's worth it.
regards, tom lane
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers