mirror of https://github.com/citusdata/citus.git
Adds logs for test
parent
a68587391c
commit
bb2b7ae9da
|
@ -688,6 +688,7 @@ GenerateGrantDatabaseCommandList(void)
|
|||
{
|
||||
continue;
|
||||
}
|
||||
elog(NOTICE, "Granting on database %s", NameStr(databaseForm->datname));
|
||||
|
||||
List *dbGrants = GrantOnDatabaseDDLCommands(databaseForm->oid);
|
||||
|
||||
|
|
|
@ -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'));
|
||||
|
|
Loading…
Reference in New Issue