Re: pg_authid has duplicated rows

From: Mariel Cherkassky <mariel(dot)cherkassky(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: pg_authid has duplicated rows
Date: 2018-07-24 13:58:54
Message-ID: CA+t6e1ko50sZF2gnWNOzhiE42P=pf4zt1qOmFZ3M=yLrSQFEig@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Ok, thanks for the clarification.

On Tue, Jul 24, 2018, 4:57 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Mariel Cherkassky <mariel(dot)cherkassky(at)gmail(dot)com> writes:
> > I checked it also in version 9.6, and in this version I can edit the
> > pg_authid table. I'm suppose to get an error that the table is a system
> > catalog or am I wrong ?
>
> No, the "system catalog modification" restriction only applies to DDL
> on the system catalogs --- for instance, adding/removing a column, which
> our C code couldn't cope with. You're free to change their contents by
> hand if you're a superuser. (And if you break something that way, you
> get to keep both pieces. But sometimes it's necessary.)
>
> regards, tom lane
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message 范国腾 2018-07-25 01:29:58 Where to change the column width in RelOptInfo data
Previous Message Tom Lane 2018-07-24 13:57:28 Re: pg_authid has duplicated rows