Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gYuPx-0007EU-4h for pgsql-general@arkaria.postgresql.org; Mon, 17 Dec 2018 15:02:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gYuPu-0000op-Ax for pgsql-general@arkaria.postgresql.org; Mon, 17 Dec 2018 15:02:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gYuPu-0000oh-34 for pgsql-general@lists.postgresql.org; Mon, 17 Dec 2018 15:02:46 +0000 Received: from evolu-s.it ([94.23.66.144] helo=smtp.evolu-s.it) by magus.postgresql.org with smtp (Exim 4.89) (envelope-from ) id 1gYuPs-00081G-3r for pgsql-general@postgresql.org; Mon, 17 Dec 2018 15:02:45 +0000 Received: from [192.168.1.163] ([79.6.30.247]) by smtp.evolu-s.it ; Mon, 17 Dec 2018 16:02:15 +0100 Subject: Re: REVOKE to an user that doesn't exist To: Tom Lane Cc: PostgreSQL mailing lists References: <12510.1544626907@sss.pgh.pa.us> From: Moreno Andreo Message-ID: <2f1b90d6-9868-96fa-ab2e-1bb8713b52f2@evolu-s.it> Date: Mon, 17 Dec 2018 16:02:24 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 In-Reply-To: <12510.1544626907@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: it List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Il 12/12/2018 16:01, Tom Lane ha scritto: > > The safest way to clean it up manually would be to set the pg_proc.proacl > field for that function to NULL. If there are other grants about the > function, you could try removing the bad entry, but it would likely be > safer to just re-grant after the upgrade. > Setting the column (and several others from other tables such as pg_class) to null made me possible to upgrade the cluster. After the upgrade, I issued the necessary GRANTs and everything is up & running on Postgres 10 now! Thanks again Moreno.-