Re: pg_authid has duplicated rows

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mariel Cherkassky <mariel(dot)cherkassky(at)gmail(dot)com>
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:57:28
Message-ID: 1602.1532440648@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Mariel Cherkassky 2018-07-24 13:58:54 Re: pg_authid has duplicated rows
Previous Message Mariel Cherkassky 2018-07-24 09:26:34 Re: pg_authid has duplicated rows