pgsql: Teach pg_dump to dump comments on RLS policy objects.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Teach pg_dump to dump comments on RLS policy objects.
Date: 2020-02-17 23:40:28
Message-ID: E1j3q04-0005KN-J3@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f31364676dfd9e7a2b712ea0da7b4ab6b7d28f5e

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2020-02-18 01:55:54 pgsql: Fix grammar in monitoring.sgml
Previous Message Peter Eisentraut 2020-02-17 15:14:11 pgsql: Optimize update of tables with generated columns