Adds logs for test

pull/7240/head
gindibay 2023-11-15 23:02:21 +03:00
parent a68587391c
commit bb2b7ae9da
2 changed files with 8 additions and 0 deletions

View File

@ -688,6 +688,7 @@ GenerateGrantDatabaseCommandList(void)
{
continue;
}
elog(NOTICE, "Granting on database %s", NameStr(databaseForm->datname));
List *dbGrants = GrantOnDatabaseDDLCommands(databaseForm->oid);

View File

@ -47,8 +47,15 @@ ALTER ROLE CURRENT_USER WITH PASSWORD 'dummypassword';
-- Show that, with no MX tables, activate node snapshot contains only the delete commands,
-- pg_dist_node entries, pg_dist_object entries and roles.
select pdo.*, pd.datname
from pg_dist_object pdo
left outer join pg_database pd on pdo.objid = pd.oid;
SELECT unnest(activate_node_snapshot()) order by 1;
-- Create a test table with constraints and SERIAL and default from user defined sequence
CREATE SEQUENCE user_defined_seq;
CREATE TABLE mx_test_table (col_1 int UNIQUE, col_2 text NOT NULL, col_3 BIGSERIAL, col_4 BIGINT DEFAULT nextval('user_defined_seq'));