mirror of
https://github.com/postgres/postgres.git
synced 2025-07-18 17:42:25 +03:00
Properly schema-qualify additional object types in getObjectDescription().
Collations, conversions, extended statistics objects (in >= v10), and all four types of text search objects have schema-qualified names. getObjectDescription() ignored that and would emit just the base name of the object, potentially producing wrong or at least highly misleading output. Fix it to add the schema name whenever the object is not "visible" in the current search path, as is the rule for other schema-qualifiable object types. Although in common situations the output won't change, this seems to me (tgl) to be a bug worthy of back-patching, hence do so. Kyotaro Horiguchi, per a complaint from me Discussion: https://postgr.es/m/20180522.182020.114074746.horiguchi.kyotaro@lab.ntt.co.jp
This commit is contained in:
@ -2680,11 +2680,11 @@ drop cascades to operator family alter2.ctype_hash_ops for access method hash
|
||||
drop cascades to type alter2.ctype
|
||||
drop cascades to function alter2.same(alter2.ctype,alter2.ctype)
|
||||
drop cascades to operator alter2.=(alter2.ctype,alter2.ctype)
|
||||
drop cascades to conversion ascii_to_utf8
|
||||
drop cascades to text search parser prs
|
||||
drop cascades to text search configuration cfg
|
||||
drop cascades to text search template tmpl
|
||||
drop cascades to text search dictionary dict
|
||||
drop cascades to conversion alter2.ascii_to_utf8
|
||||
drop cascades to text search parser alter2.prs
|
||||
drop cascades to text search configuration alter2.cfg
|
||||
drop cascades to text search template alter2.tmpl
|
||||
drop cascades to text search dictionary alter2.dict
|
||||
--
|
||||
-- composite types
|
||||
--
|
||||
|
Reference in New Issue
Block a user