Teach SHOW ALL to honor pg_read_all_settings membership
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 8 Jun 2018 20:18:40 +0000 (16:18 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 8 Jun 2018 20:19:05 +0000 (16:19 -0400)
commit0c8910a0cab7c1e439bf5f5850122c36359e6799
tree04c5cbd17eac991382c5a16830bf6d5258deda73
parentacad8b409add4bde37e3882c1680a7bd26289f03
Teach SHOW ALL to honor pg_read_all_settings membership

Also, fix the pg_settings view to display source filename and line
number when invoked by a pg_read_all_settings member.  This addition by
me (Álvaro).

Also, fix wording of the comment in GetConfigOption regarding the
restriction it implements, renaming the parameter for extra clarity.
Noted by Michaël.

These were all oversight in commit 25fff40798fc; backpatch to pg10,
where that commit first appeared.

Author: Laurenz Albe
Reviewed-by: Michaël Paquier, Álvaro Herrera
Discussion: https://postgr.es/m/1519917758.6586.8.camel@cybertec.at
src/backend/utils/misc/guc.c
src/include/utils/guc.h