Re: pg_dump No comment for policy

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pg_dump No comment for policy
Дата
Msg-id 20200318021918.GA28233@momjian.us
обсуждение исходный текст
Ответ на Re: pg_dump No comment for policy  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Mon, Feb 17, 2020 at 12:59:37PM -0500, Tom Lane wrote:
> Marc Munro <marc@bloodnok.com> writes:
> > I have created a policy with a comment on it.  pg_dump does not dump
> > the comment.
> 
> Ugh, yeah, there's no dumpComment() call in dumpPolicy().
> 
> Easy enough to fix, but now I wonder if we missed the same elsewhere.

FYI, this was fixed on February 17 and will appear in the next minor
release:

    commit f31364676d
    Author: Tom Lane <tgl@sss.pgh.pa.us>
    Date:   Mon Feb 17 18:40:02 2020 -0500
    
        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

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +



В списке pgsql-bugs по дате отправления:

Предыдущее
От: Horimoto Yasuhiro
Дата:
Сообщение: Re: BUG #16303: A condtion whether an index-only scan is possibleincludes a wrong
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #16307: pgdg11-updates-debuginfo YUM repository missing RHEL releasever directories