pgsql: Report incompatible roles in pg_upgrade checking

From: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Report incompatible roles in pg_upgrade checking
Date: 2022-12-02 12:26:03
Message-ID: E1p157C-001hMj-Tl@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Report incompatible roles in pg_upgrade checking

When checking for roles with a pg_ prefix in <= 9.5 servers, report
all found roles in a text file as how other checks are done instead
of just reporting that they exist. Rolenames are printed with their
Oids to match other reports.

Author: Daniel Gustafsson <daniel(at)yesql(dot)se>
Reviewed-by: Bruce Momjian <bruce(at)momjian(dot)us>
Reviewed-by: Michael Paquier <michael(at)paquier(dot)xyz>
Discussion: https://postgr.es/m/4BB2735C-C347-4CF7-AFB1-8573BE930066@yesql.se

Branch
------
master

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

Modified Files
--------------
src/bin/pg_upgrade/check.c | 39 ++++++++++++++++++++++++++++++++-------
1 file changed, 32 insertions(+), 7 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2022-12-02 12:55:57 pgsql: doc: Avoid writing in first-person form
Previous Message Daniel Gustafsson 2022-12-02 10:40:22 pgsql: doc: fix type alignment for CREATE TABLE in triggers