We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea2bb42 commit 44c79c2Copy full SHA for 44c79c2
1 file changed
nix/ext/tests/pg_safeupdate.nix
@@ -54,6 +54,12 @@ self.inputs.nixpkgs.lib.nixos.runTest {
54
enable = true;
55
package = (postgresqlWithExtension psql_15);
56
settings = (installedExtension "15").defaultSettings or { };
57
+ initialScript = pkgs.writeText "init-postgres" ''
58
+ CREATE ROLE authenticated NOLOGIN NOINHERIT;
59
+ GRANT USAGE ON SCHEMA public TO authenticated;
60
+ CREATE ROLE anon NOLOGIN NOINHERIT;
61
+ GRANT USAGE ON SCHEMA public TO anon;
62
+ '';
63
};
64
65
specialisation.postgresql17.configuration = {
0 commit comments