mirror of https://github.com/citusdata/citus.git
21 lines
1.0 KiB
Plaintext
21 lines
1.0 KiB
Plaintext
--
|
|
-- MULTI_UTILITY_WARNINGS
|
|
--
|
|
-- Tests to check if we inform the user about potential caveats of creating new
|
|
-- databases, schemas, and roles.
|
|
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1010000;
|
|
ALTER SEQUENCE pg_catalog.pg_dist_jobid_seq RESTART 1010000;
|
|
CREATE DATABASE new_database;
|
|
NOTICE: Citus partially supports CREATE DATABASE for distributed databases
|
|
DETAIL: Citus does not propagate CREATE DATABASE command to workers
|
|
HINT: You can manually create a database and its extensions on workers.
|
|
CREATE SCHEMA new_schema;
|
|
NOTICE: Citus partially supports CREATE SCHEMA for distributed databases
|
|
DETAIL: schema usage in joins and in some UDFs provided by Citus are not supported yet
|
|
CREATE ROLE new_role;
|
|
NOTICE: not propagating CREATE ROLE/USER commands to worker nodes
|
|
HINT: Connect to worker nodes directly to manually create all necessary users and roles.
|
|
CREATE USER new_user;
|
|
NOTICE: not propagating CREATE ROLE/USER commands to worker nodes
|
|
HINT: Connect to worker nodes directly to manually create all necessary users and roles.
|