aboutsummaryrefslogtreecommitdiff
path: root/contrib/jsonb_plpython
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-05-24 12:07:41 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-05-24 12:07:41 -0400
commit056f52d9c3ee2dd85b5f1acdbb4e0497f82725b3 (patch)
tree83603de2c02d6980549024fcaa874f8c17914a27 /contrib/jsonb_plpython
parent4431c94c3606ab54594b15ad89c7e71e46b4fb6a (diff)
downloadpostgresql-056f52d9c3ee2dd85b5f1acdbb4e0497f82725b3.tar.gz
postgresql-056f52d9c3ee2dd85b5f1acdbb4e0497f82725b3.zip
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
Diffstat (limited to 'contrib/jsonb_plpython')
0 files changed, 0 insertions, 0 deletions