Teach pg_dump to dump comments on RLS policy objects.
This was unaccountably omitted in the original RLS patch.
The SQL syntax is basically the same as for comments on triggers,
so crib code from dumpTrigger().
Per report from Marc Munro. Back-patch to all supported branches.
Discussion: https://postgr.es/m/1581889298.18009.15.camel@bloodnok.com
Branch
------
REL_10_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/f9d7bb68da30b9b91e7ac440103a3e5ddeaf412a
Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)