Re: Add LINE: hint when schemaname.typename is a non-existent schema - Mailing list pgsql-hackers

From Jeevan Chalke
Subject Re: Add LINE: hint when schemaname.typename is a non-existent schema
Date
Msg-id 20150318061158.4007.96565.pgcf@coridan.postgresql.org
Whole thread Raw
In response to Re: Add LINE: hint when schemaname.typename is a non-existent schema  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Add LINE: hint when schemaname.typename is a non-existent schema  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Add LINE: hint when schemaname.typename is a non-existent schema  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Re: Add LINE: hint when schemaname.typename is a non-existent schema  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Álvaro,

I think, there are few open questions here and thus marking it back to "Waiting on Author".

Please have your views on the review comments already posted.
Also make changes as Tom suggested about placing pstate at the beginning.

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?

2.
Also what about pushing setup_parser_errposition_callback() inside func_get_detail() as well, just to limit it for
namespacelookup?
 

Thanks

The new status of this patch is: Waiting on Author



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Reduce pinning in btree indexes
Next
From: Amit Kapila
Date:
Subject: Re: Parallel Seq Scan