Re: REVOKE to an user that doesn't exist

2018-12-17 Thread Moreno Andreo
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 upgrad

Re: REVOKE to an user that doesn't exist

2018-12-12 Thread Moreno Andreo
Il 12/12/2018 16:01, Tom Lane ha scritto: Moreno Andreo writes: I'm trying to pg_upgrade a cluster from 9.1 to 10 (Windows 10, but I don't think it matters). At a certain point an error is thrown while parsing a trigger: could not execute query: ERROR:  role "1067431" does not exist command was

Re: REVOKE to an user that doesn't exist

2018-12-12 Thread Moreno Andreo
Il 12/12/2018 15:39, Adrian Klaver ha scritto: On 12/12/18 5:11 AM, Moreno Andreo wrote: Hi all, I'm trying to pg_upgrade a cluster from 9.1 to 10 (Windows 10, but I don't think it matters). At a certain point an error is thrown while parsing a trigger: could not execute query: ERROR:  role

Re: REVOKE to an user that doesn't exist

2018-12-12 Thread Tom Lane
Moreno Andreo writes: > I'm trying to pg_upgrade a cluster from 9.1 to 10 (Windows 10, but I > don't think it matters). > At a certain point an error is thrown while parsing a trigger: > could not execute query: ERROR:  role "1067431" does not exist > command was: REVOKE ALL ON FUNCTION "x"() FR

Re: REVOKE to an user that doesn't exist

2018-12-12 Thread Adrian Klaver
On 12/12/18 5:11 AM, Moreno Andreo wrote: Hi all, I'm trying to pg_upgrade a cluster from 9.1 to 10 (Windows 10, but I don't think it matters). At a certain point an error is thrown while parsing a trigger: could not execute query: ERROR:  role "1067431" does not exist command was: REVOKE A

REVOKE to an user that doesn't exist

2018-12-12 Thread Moreno Andreo
Hi all, I'm trying to pg_upgrade a cluster from 9.1 to 10 (Windows 10, but I don't think it matters). At a certain point an error is thrown while parsing a trigger: could not execute query: ERROR:  role "1067431" does not exist command was: REVOKE ALL ON FUNCTION "x"() FROM PUBLIC; GRANT ALL