Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fhxon-0002TL-Bx for pgsql-admin@arkaria.postgresql.org; Tue, 24 Jul 2018 13:57:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fhxol-0001bB-Ns for pgsql-admin@arkaria.postgresql.org; Tue, 24 Jul 2018 13:57:35 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fhxol-0001b3-Ch for pgsql-admin@lists.postgresql.org; Tue, 24 Jul 2018 13:57:35 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fhxoi-0004eP-Ty for pgsql-admin@lists.postgresql.org; Tue, 24 Jul 2018 13:57:34 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w6ODvS6Z001603; Tue, 24 Jul 2018 09:57:28 -0400 From: Tom Lane To: Mariel Cherkassky cc: Andres Freund , Alvaro Herrera , pgsql-admin@lists.postgresql.org Subject: Re: pg_authid has duplicated rows In-reply-to: References: <20180723203311.7isul7yxziiw7wbx@alvherre.pgsql> Comments: In-reply-to Mariel Cherkassky message dated "Tue, 24 Jul 2018 12:26:34 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1601.1532440648.1@sss.pgh.pa.us> Date: Tue, 24 Jul 2018 09:57:28 -0400 Message-ID: <1602.1532440648@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Mariel Cherkassky 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