mirror of https://github.com/citusdata/citus.git
Fixes review notes
parent
5f263c1b39
commit
5aae80f284
|
@ -179,11 +179,36 @@ DETAIL: on server postgres@localhost:xxxxx connectionId: xxxxxxx
|
||||||
NOTICE: issuing ALTER DATABASE regression2 RENAME TO regression3
|
NOTICE: issuing ALTER DATABASE regression2 RENAME TO regression3
|
||||||
DETAIL: on server postgres@localhost:xxxxx connectionId: xxxxxxx
|
DETAIL: on server postgres@localhost:xxxxx connectionId: xxxxxxx
|
||||||
drop database regression3;
|
drop database regression3;
|
||||||
|
create database regression4;
|
||||||
|
SELECT result FROM run_command_on_all_nodes(
|
||||||
|
$$
|
||||||
|
ALTER TABLESPACE alter_db_tablespace RENAME TO "ts-needs\!escape"
|
||||||
|
$$
|
||||||
|
);
|
||||||
|
result
|
||||||
|
---------------------------------------------------------------------
|
||||||
|
ALTER TABLESPACE
|
||||||
|
ALTER TABLESPACE
|
||||||
|
ALTER TABLESPACE
|
||||||
|
(3 rows)
|
||||||
|
|
||||||
|
alter database regression4 set TABLESPACE "ts-needs\!escape";
|
||||||
|
NOTICE: issuing ALTER DATABASE regression4 SET TABLESPACE "ts-needs\!escape";
|
||||||
|
DETAIL: on server postgres@localhost:xxxxx connectionId: xxxxxxx
|
||||||
|
NOTICE: issuing ALTER DATABASE regression4 SET TABLESPACE "ts-needs\!escape";
|
||||||
|
DETAIL: on server postgres@localhost:xxxxx connectionId: xxxxxxx
|
||||||
|
drop database regression4;
|
||||||
set citus.log_remote_commands = false;
|
set citus.log_remote_commands = false;
|
||||||
set citus.enable_create_database_propagation=off;
|
set citus.enable_create_database_propagation=off;
|
||||||
drop tablespace alter_db_tablespace;
|
SELECT result FROM run_command_on_all_nodes(
|
||||||
\c - - - :worker_1_port
|
$$
|
||||||
drop tablespace alter_db_tablespace;
|
drop tablespace "ts-needs\!escape"
|
||||||
\c - - - :worker_2_port
|
$$
|
||||||
drop tablespace alter_db_tablespace;
|
);
|
||||||
\c - - - :master_port
|
result
|
||||||
|
---------------------------------------------------------------------
|
||||||
|
DROP TABLESPACE
|
||||||
|
DROP TABLESPACE
|
||||||
|
DROP TABLESPACE
|
||||||
|
(3 rows)
|
||||||
|
|
||||||
|
|
|
@ -78,19 +78,26 @@ alter database regression2 rename to regression3;
|
||||||
|
|
||||||
drop database regression3;
|
drop database regression3;
|
||||||
|
|
||||||
|
create database regression4;
|
||||||
|
|
||||||
|
|
||||||
|
SELECT result FROM run_command_on_all_nodes(
|
||||||
|
$$
|
||||||
|
ALTER TABLESPACE alter_db_tablespace RENAME TO "ts-needs\!escape"
|
||||||
|
$$
|
||||||
|
);
|
||||||
|
|
||||||
|
alter database regression4 set TABLESPACE "ts-needs\!escape";
|
||||||
|
|
||||||
|
drop database regression4;
|
||||||
|
|
||||||
set citus.log_remote_commands = false;
|
set citus.log_remote_commands = false;
|
||||||
set citus.enable_create_database_propagation=off;
|
set citus.enable_create_database_propagation=off;
|
||||||
|
|
||||||
drop tablespace alter_db_tablespace;
|
SELECT result FROM run_command_on_all_nodes(
|
||||||
|
$$
|
||||||
\c - - - :worker_1_port
|
drop tablespace "ts-needs\!escape"
|
||||||
|
$$
|
||||||
drop tablespace alter_db_tablespace;
|
);
|
||||||
|
|
||||||
\c - - - :worker_2_port
|
|
||||||
|
|
||||||
drop tablespace alter_db_tablespace;
|
|
||||||
|
|
||||||
\c - - - :master_port
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue