Changeset: fdd9e222643b for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/fdd9e222643b Modified Files: sql/backends/monet5/sql_upgrades.c sql/test/emptydb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128 sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out.int128 sql/test/emptydb-previous-upgrade-hge/Tests/upgrade.stable.out.int128 sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out.int128 sql/test/emptydb-upgrade-chain-hge/Tests/upgrade.stable.out.int128 sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.int128 sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.ppc64.int128 sql/test/emptydb-upgrade-hge/Tests/upgrade.stable.out.int128 sql/test/emptydb-upgrade/Tests/upgrade.stable.out sql/test/emptydb-upgrade/Tests/upgrade.stable.out.int128 sql/test/testdb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128 sql/test/testdb-previous-upgrade-chain/Tests/upgrade.stable.out sql/test/testdb-previous-upgrade-chain/Tests/upgrade.stable.out.int128 sql/test/testdb-previous-upgrade-hge/Tests/upgrade.stable.out.int128 sql/test/testdb-previous-upgrade/Tests/upgrade.stable.out sql/test/testdb-previous-upgrade/Tests/upgrade.stable.out.int128 sql/test/testdb-upgrade-chain-hge/Tests/upgrade.stable.out.int128 sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out.int128 sql/test/testdb-upgrade-hge/Tests/upgrade.stable.out.int128 sql/test/testdb-upgrade/Tests/upgrade.stable.out sql/test/testdb-upgrade/Tests/upgrade.stable.out.int128 Branch: default Log Message:
Complete granting of persist_unlogged during upgrade. diffs (truncated from 312 to 300 lines): diff --git a/sql/backends/monet5/sql_upgrades.c b/sql/backends/monet5/sql_upgrades.c --- a/sql/backends/monet5/sql_upgrades.c +++ b/sql/backends/monet5/sql_upgrades.c @@ -6315,6 +6315,8 @@ sql_update_default(Client c, mvc *sql, s "RETURNS TABLE(\"table\" STRING, \"table_id\" INT, \"rowcount\" BIGINT)\n" "EXTERNAL NAME sql.persist_unlogged;\n" "GRANT EXECUTE ON FUNCTION sys.persist_unlogged() TO PUBLIC;\n" + "GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string) TO PUBLIC;\n" + "GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string, string) TO PUBLIC;\n" "UPDATE sys.functions SET system = true WHERE system <> true AND\n" "name = 'persist_unlogged' AND schema_id = 2000;\n"; printf("Running database upgrade commands:\n%s\n", query); diff --git a/sql/test/emptydb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128 b/sql/test/emptydb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128 --- a/sql/test/emptydb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128 +++ b/sql/test/emptydb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128 @@ -753,6 +753,8 @@ CREATE FUNCTION sys.persist_unlogged(sna RETURNS TABLE("table" STRING, "table_id" INT, "rowcount" BIGINT) EXTERNAL NAME sql.persist_unlogged; GRANT EXECUTE ON FUNCTION sys.persist_unlogged() TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string) TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string, string) TO PUBLIC; UPDATE sys.functions SET system = true WHERE system <> true AND name = 'persist_unlogged' AND schema_id = 2000; diff --git a/sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out b/sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out --- a/sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out +++ b/sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out @@ -753,6 +753,8 @@ CREATE FUNCTION sys.persist_unlogged(sna RETURNS TABLE("table" STRING, "table_id" INT, "rowcount" BIGINT) EXTERNAL NAME sql.persist_unlogged; GRANT EXECUTE ON FUNCTION sys.persist_unlogged() TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string) TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string, string) TO PUBLIC; UPDATE sys.functions SET system = true WHERE system <> true AND name = 'persist_unlogged' AND schema_id = 2000; diff --git a/sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out.int128 b/sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out.int128 --- a/sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out.int128 +++ b/sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out.int128 @@ -822,6 +822,8 @@ CREATE FUNCTION sys.persist_unlogged(sna RETURNS TABLE("table" STRING, "table_id" INT, "rowcount" BIGINT) EXTERNAL NAME sql.persist_unlogged; GRANT EXECUTE ON FUNCTION sys.persist_unlogged() TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string) TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string, string) TO PUBLIC; UPDATE sys.functions SET system = true WHERE system <> true AND name = 'persist_unlogged' AND schema_id = 2000; diff --git a/sql/test/emptydb-previous-upgrade-hge/Tests/upgrade.stable.out.int128 b/sql/test/emptydb-previous-upgrade-hge/Tests/upgrade.stable.out.int128 --- a/sql/test/emptydb-previous-upgrade-hge/Tests/upgrade.stable.out.int128 +++ b/sql/test/emptydb-previous-upgrade-hge/Tests/upgrade.stable.out.int128 @@ -753,6 +753,8 @@ CREATE FUNCTION sys.persist_unlogged(sna RETURNS TABLE("table" STRING, "table_id" INT, "rowcount" BIGINT) EXTERNAL NAME sql.persist_unlogged; GRANT EXECUTE ON FUNCTION sys.persist_unlogged() TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string) TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string, string) TO PUBLIC; UPDATE sys.functions SET system = true WHERE system <> true AND name = 'persist_unlogged' AND schema_id = 2000; diff --git a/sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out b/sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out --- a/sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out +++ b/sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out @@ -753,6 +753,8 @@ CREATE FUNCTION sys.persist_unlogged(sna RETURNS TABLE("table" STRING, "table_id" INT, "rowcount" BIGINT) EXTERNAL NAME sql.persist_unlogged; GRANT EXECUTE ON FUNCTION sys.persist_unlogged() TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string) TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string, string) TO PUBLIC; UPDATE sys.functions SET system = true WHERE system <> true AND name = 'persist_unlogged' AND schema_id = 2000; diff --git a/sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out.int128 b/sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out.int128 --- a/sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out.int128 +++ b/sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out.int128 @@ -822,6 +822,8 @@ CREATE FUNCTION sys.persist_unlogged(sna RETURNS TABLE("table" STRING, "table_id" INT, "rowcount" BIGINT) EXTERNAL NAME sql.persist_unlogged; GRANT EXECUTE ON FUNCTION sys.persist_unlogged() TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string) TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string, string) TO PUBLIC; UPDATE sys.functions SET system = true WHERE system <> true AND name = 'persist_unlogged' AND schema_id = 2000; diff --git a/sql/test/emptydb-upgrade-chain-hge/Tests/upgrade.stable.out.int128 b/sql/test/emptydb-upgrade-chain-hge/Tests/upgrade.stable.out.int128 --- a/sql/test/emptydb-upgrade-chain-hge/Tests/upgrade.stable.out.int128 +++ b/sql/test/emptydb-upgrade-chain-hge/Tests/upgrade.stable.out.int128 @@ -393,6 +393,8 @@ CREATE FUNCTION sys.persist_unlogged(sna RETURNS TABLE("table" STRING, "table_id" INT, "rowcount" BIGINT) EXTERNAL NAME sql.persist_unlogged; GRANT EXECUTE ON FUNCTION sys.persist_unlogged() TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string) TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string, string) TO PUBLIC; UPDATE sys.functions SET system = true WHERE system <> true AND name = 'persist_unlogged' AND schema_id = 2000; diff --git a/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out b/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out --- a/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out +++ b/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out @@ -393,6 +393,8 @@ CREATE FUNCTION sys.persist_unlogged(sna RETURNS TABLE("table" STRING, "table_id" INT, "rowcount" BIGINT) EXTERNAL NAME sql.persist_unlogged; GRANT EXECUTE ON FUNCTION sys.persist_unlogged() TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string) TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string, string) TO PUBLIC; UPDATE sys.functions SET system = true WHERE system <> true AND name = 'persist_unlogged' AND schema_id = 2000; diff --git a/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.int128 b/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.int128 --- a/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.int128 +++ b/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.int128 @@ -462,6 +462,8 @@ CREATE FUNCTION sys.persist_unlogged(sna RETURNS TABLE("table" STRING, "table_id" INT, "rowcount" BIGINT) EXTERNAL NAME sql.persist_unlogged; GRANT EXECUTE ON FUNCTION sys.persist_unlogged() TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string) TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string, string) TO PUBLIC; UPDATE sys.functions SET system = true WHERE system <> true AND name = 'persist_unlogged' AND schema_id = 2000; diff --git a/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.ppc64.int128 b/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.ppc64.int128 --- a/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.ppc64.int128 +++ b/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.ppc64.int128 @@ -462,6 +462,8 @@ CREATE FUNCTION sys.persist_unlogged(sna RETURNS TABLE("table" STRING, "table_id" INT, "rowcount" BIGINT) EXTERNAL NAME sql.persist_unlogged; GRANT EXECUTE ON FUNCTION sys.persist_unlogged() TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string) TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string, string) TO PUBLIC; UPDATE sys.functions SET system = true WHERE system <> true AND name = 'persist_unlogged' AND schema_id = 2000; diff --git a/sql/test/emptydb-upgrade-hge/Tests/upgrade.stable.out.int128 b/sql/test/emptydb-upgrade-hge/Tests/upgrade.stable.out.int128 --- a/sql/test/emptydb-upgrade-hge/Tests/upgrade.stable.out.int128 +++ b/sql/test/emptydb-upgrade-hge/Tests/upgrade.stable.out.int128 @@ -393,6 +393,8 @@ CREATE FUNCTION sys.persist_unlogged(sna RETURNS TABLE("table" STRING, "table_id" INT, "rowcount" BIGINT) EXTERNAL NAME sql.persist_unlogged; GRANT EXECUTE ON FUNCTION sys.persist_unlogged() TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string) TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string, string) TO PUBLIC; UPDATE sys.functions SET system = true WHERE system <> true AND name = 'persist_unlogged' AND schema_id = 2000; diff --git a/sql/test/emptydb-upgrade/Tests/upgrade.stable.out b/sql/test/emptydb-upgrade/Tests/upgrade.stable.out --- a/sql/test/emptydb-upgrade/Tests/upgrade.stable.out +++ b/sql/test/emptydb-upgrade/Tests/upgrade.stable.out @@ -393,6 +393,8 @@ CREATE FUNCTION sys.persist_unlogged(sna RETURNS TABLE("table" STRING, "table_id" INT, "rowcount" BIGINT) EXTERNAL NAME sql.persist_unlogged; GRANT EXECUTE ON FUNCTION sys.persist_unlogged() TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string) TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string, string) TO PUBLIC; UPDATE sys.functions SET system = true WHERE system <> true AND name = 'persist_unlogged' AND schema_id = 2000; diff --git a/sql/test/emptydb-upgrade/Tests/upgrade.stable.out.int128 b/sql/test/emptydb-upgrade/Tests/upgrade.stable.out.int128 --- a/sql/test/emptydb-upgrade/Tests/upgrade.stable.out.int128 +++ b/sql/test/emptydb-upgrade/Tests/upgrade.stable.out.int128 @@ -462,6 +462,8 @@ CREATE FUNCTION sys.persist_unlogged(sna RETURNS TABLE("table" STRING, "table_id" INT, "rowcount" BIGINT) EXTERNAL NAME sql.persist_unlogged; GRANT EXECUTE ON FUNCTION sys.persist_unlogged() TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string) TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string, string) TO PUBLIC; UPDATE sys.functions SET system = true WHERE system <> true AND name = 'persist_unlogged' AND schema_id = 2000; diff --git a/sql/test/testdb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128 b/sql/test/testdb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128 --- a/sql/test/testdb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128 +++ b/sql/test/testdb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128 @@ -753,6 +753,8 @@ CREATE FUNCTION sys.persist_unlogged(sna RETURNS TABLE("table" STRING, "table_id" INT, "rowcount" BIGINT) EXTERNAL NAME sql.persist_unlogged; GRANT EXECUTE ON FUNCTION sys.persist_unlogged() TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string) TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string, string) TO PUBLIC; UPDATE sys.functions SET system = true WHERE system <> true AND name = 'persist_unlogged' AND schema_id = 2000; diff --git a/sql/test/testdb-previous-upgrade-chain/Tests/upgrade.stable.out b/sql/test/testdb-previous-upgrade-chain/Tests/upgrade.stable.out --- a/sql/test/testdb-previous-upgrade-chain/Tests/upgrade.stable.out +++ b/sql/test/testdb-previous-upgrade-chain/Tests/upgrade.stable.out @@ -753,6 +753,8 @@ CREATE FUNCTION sys.persist_unlogged(sna RETURNS TABLE("table" STRING, "table_id" INT, "rowcount" BIGINT) EXTERNAL NAME sql.persist_unlogged; GRANT EXECUTE ON FUNCTION sys.persist_unlogged() TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string) TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string, string) TO PUBLIC; UPDATE sys.functions SET system = true WHERE system <> true AND name = 'persist_unlogged' AND schema_id = 2000; diff --git a/sql/test/testdb-previous-upgrade-chain/Tests/upgrade.stable.out.int128 b/sql/test/testdb-previous-upgrade-chain/Tests/upgrade.stable.out.int128 --- a/sql/test/testdb-previous-upgrade-chain/Tests/upgrade.stable.out.int128 +++ b/sql/test/testdb-previous-upgrade-chain/Tests/upgrade.stable.out.int128 @@ -822,6 +822,8 @@ CREATE FUNCTION sys.persist_unlogged(sna RETURNS TABLE("table" STRING, "table_id" INT, "rowcount" BIGINT) EXTERNAL NAME sql.persist_unlogged; GRANT EXECUTE ON FUNCTION sys.persist_unlogged() TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string) TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string, string) TO PUBLIC; UPDATE sys.functions SET system = true WHERE system <> true AND name = 'persist_unlogged' AND schema_id = 2000; diff --git a/sql/test/testdb-previous-upgrade-hge/Tests/upgrade.stable.out.int128 b/sql/test/testdb-previous-upgrade-hge/Tests/upgrade.stable.out.int128 --- a/sql/test/testdb-previous-upgrade-hge/Tests/upgrade.stable.out.int128 +++ b/sql/test/testdb-previous-upgrade-hge/Tests/upgrade.stable.out.int128 @@ -753,6 +753,8 @@ CREATE FUNCTION sys.persist_unlogged(sna RETURNS TABLE("table" STRING, "table_id" INT, "rowcount" BIGINT) EXTERNAL NAME sql.persist_unlogged; GRANT EXECUTE ON FUNCTION sys.persist_unlogged() TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string) TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string, string) TO PUBLIC; UPDATE sys.functions SET system = true WHERE system <> true AND name = 'persist_unlogged' AND schema_id = 2000; diff --git a/sql/test/testdb-previous-upgrade/Tests/upgrade.stable.out b/sql/test/testdb-previous-upgrade/Tests/upgrade.stable.out --- a/sql/test/testdb-previous-upgrade/Tests/upgrade.stable.out +++ b/sql/test/testdb-previous-upgrade/Tests/upgrade.stable.out @@ -753,6 +753,8 @@ CREATE FUNCTION sys.persist_unlogged(sna RETURNS TABLE("table" STRING, "table_id" INT, "rowcount" BIGINT) EXTERNAL NAME sql.persist_unlogged; GRANT EXECUTE ON FUNCTION sys.persist_unlogged() TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string) TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string, string) TO PUBLIC; UPDATE sys.functions SET system = true WHERE system <> true AND name = 'persist_unlogged' AND schema_id = 2000; diff --git a/sql/test/testdb-previous-upgrade/Tests/upgrade.stable.out.int128 b/sql/test/testdb-previous-upgrade/Tests/upgrade.stable.out.int128 --- a/sql/test/testdb-previous-upgrade/Tests/upgrade.stable.out.int128 +++ b/sql/test/testdb-previous-upgrade/Tests/upgrade.stable.out.int128 @@ -822,6 +822,8 @@ CREATE FUNCTION sys.persist_unlogged(sna RETURNS TABLE("table" STRING, "table_id" INT, "rowcount" BIGINT) EXTERNAL NAME sql.persist_unlogged; GRANT EXECUTE ON FUNCTION sys.persist_unlogged() TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string) TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string, string) TO PUBLIC; UPDATE sys.functions SET system = true WHERE system <> true AND name = 'persist_unlogged' AND schema_id = 2000; diff --git a/sql/test/testdb-upgrade-chain-hge/Tests/upgrade.stable.out.int128 b/sql/test/testdb-upgrade-chain-hge/Tests/upgrade.stable.out.int128 --- a/sql/test/testdb-upgrade-chain-hge/Tests/upgrade.stable.out.int128 +++ b/sql/test/testdb-upgrade-chain-hge/Tests/upgrade.stable.out.int128 @@ -393,6 +393,8 @@ CREATE FUNCTION sys.persist_unlogged(sna RETURNS TABLE("table" STRING, "table_id" INT, "rowcount" BIGINT) EXTERNAL NAME sql.persist_unlogged; GRANT EXECUTE ON FUNCTION sys.persist_unlogged() TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string) TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string, string) TO PUBLIC; UPDATE sys.functions SET system = true WHERE system <> true AND name = 'persist_unlogged' AND schema_id = 2000; diff --git a/sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out b/sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out --- a/sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out +++ b/sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out @@ -393,6 +393,8 @@ CREATE FUNCTION sys.persist_unlogged(sna RETURNS TABLE("table" STRING, "table_id" INT, "rowcount" BIGINT) EXTERNAL NAME sql.persist_unlogged; GRANT EXECUTE ON FUNCTION sys.persist_unlogged() TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string) TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string, string) TO PUBLIC; UPDATE sys.functions SET system = true WHERE system <> true AND name = 'persist_unlogged' AND schema_id = 2000; diff --git a/sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out.int128 b/sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out.int128 --- a/sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out.int128 +++ b/sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out.int128 @@ -462,6 +462,8 @@ CREATE FUNCTION sys.persist_unlogged(sna RETURNS TABLE("table" STRING, "table_id" INT, "rowcount" BIGINT) EXTERNAL NAME sql.persist_unlogged; GRANT EXECUTE ON FUNCTION sys.persist_unlogged() TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string) TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string, string) TO PUBLIC; UPDATE sys.functions SET system = true WHERE system <> true AND name = 'persist_unlogged' AND schema_id = 2000; diff --git a/sql/test/testdb-upgrade-hge/Tests/upgrade.stable.out.int128 b/sql/test/testdb-upgrade-hge/Tests/upgrade.stable.out.int128 --- a/sql/test/testdb-upgrade-hge/Tests/upgrade.stable.out.int128 +++ b/sql/test/testdb-upgrade-hge/Tests/upgrade.stable.out.int128 @@ -393,6 +393,8 @@ CREATE FUNCTION sys.persist_unlogged(sna RETURNS TABLE("table" STRING, "table_id" INT, "rowcount" BIGINT) EXTERNAL NAME sql.persist_unlogged; GRANT EXECUTE ON FUNCTION sys.persist_unlogged() TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string) TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string, string) TO PUBLIC; UPDATE sys.functions SET system = true WHERE system <> true AND name = 'persist_unlogged' AND schema_id = 2000; diff --git a/sql/test/testdb-upgrade/Tests/upgrade.stable.out b/sql/test/testdb-upgrade/Tests/upgrade.stable.out --- a/sql/test/testdb-upgrade/Tests/upgrade.stable.out +++ b/sql/test/testdb-upgrade/Tests/upgrade.stable.out @@ -393,6 +393,8 @@ CREATE FUNCTION sys.persist_unlogged(sna RETURNS TABLE("table" STRING, "table_id" INT, "rowcount" BIGINT) EXTERNAL NAME sql.persist_unlogged; GRANT EXECUTE ON FUNCTION sys.persist_unlogged() TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string) TO PUBLIC; +GRANT EXECUTE ON FUNCTION sys.persist_unlogged(string, string) TO PUBLIC; UPDATE sys.functions SET system = true WHERE system <> true AND name = 'persist_unlogged' AND schema_id = 2000; _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org