Teach pg_dump to dump comments on RLS policy objects.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 17 Feb 2020 23:40:02 +0000 (18:40 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 17 Feb 2020 23:40:02 +0000 (18:40 -0500)
commitd9ec8d1d7dc2bfaa7ae001c4319f6988a83dd486
tree48d1467269a3afc5a179d8a5c72f562ba52d5582
parent2b9d4ec1d3c0da473232a9c1b065b976e3a2d13e
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
src/bin/pg_dump/pg_dump.c