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)
commitf31364676dfd9e7a2b712ea0da7b4ab6b7d28f5e
tree07d34a112cb49296b48880c8275c7e8d96451dda
parentc6679e4fca21d253ced84c51ac1a31c1b2aec72f
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