From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: upgrade failure from 9.5 to head |
Date: | 2015-07-29 14:30:00 |
Message-ID: | 20150729143000.GD26516@alap3.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
On 2015-07-29 10:16:10 -0400, Andrew Dunstan wrote:
>
> My cross-version upgrade testing tool just threw up this failure, upgrading
> from 9.5 to head:
>
> CREATE ROLE "dummy_seclabel_user1";
> CREATE ROLE
> ALTER ROLE "dummy_seclabel_user1" WITH NOSUPERUSER INHERIT
> CREATEROLE NOCREATEDB LOGIN NOREPLICATION NOBYPASSRLS;
> ALTER ROLE
> SECURITY LABEL FOR "dummy" ON ROLE "dummy_seclabel_user1" IS
> 'classified';
> psql:pg_upgrade_dump_globals.sql:25: ERROR: security label provider
> "dummy" is not loaded
Ick! So the dummy_seclabel test more or less only works by accident if I
see that correctly. The .so is only loaded because the CREATE EXTENSION
in the test triggers a CREATE FUNCTION dummy_seclabel_dummy() ... LANG
C.
That's pretty damn ugly.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2015-07-29 14:30:31 | Re: upgrade failure from 9.5 to head |
Previous Message | Andrew Dunstan | 2015-07-29 14:16:10 | upgrade failure from 9.5 to head |