File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,8 @@ successfully and some failed.
99
99
Currently cmd_log can be seen and commands issued only on the shardlord, but
100
100
that's easy to change.
101
101
102
- Let's get to the actual commands.
102
+ Let's get to the actual commands, which are implemented as functions in
103
+ the extension's schema.
103
104
104
105
add_node(connstring text)
105
106
Add node with given libpq connstring to the cluster. Node is assigned unique
Original file line number Diff line number Diff line change @@ -806,7 +806,7 @@ CREATE FUNCTION remove_sync_standby_c(standby text) RETURNS text
806
806
807
807
CREATE FUNCTION set_sync_standbys (standby text ) RETURNS void AS $$
808
808
BEGIN
809
- PERFORM pg_reload_conf();
810
809
PERFORM shardman .alter_system_c (' synchronous_standby_names' , standby);
810
+ PERFORM pg_reload_conf();
811
811
RAISE DEBUG ' [SHMN] sync_standbys set to %' , standby;
812
812
END $$ LANGUAGE plpgsql STRICT;
Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ gen_create_table_sql(PG_FUNCTION_ARGS)
107
107
SPI_getvalue (SPI_tuptable -> vals [0 ], SPI_tuptable -> tupdesc , 1 ));
108
108
SPI_finish ();
109
109
join_path_components (pg_dump_path , pg_dump_path , "pg_dump" );
110
+ canonicalize_path (pg_dump_path );
110
111
111
112
cmd = psprintf ("%s -t '%s' --schema-only --dbname='%s' 2>&1" ,
112
113
pg_dump_path , relation , connstring );
You can’t perform that action at this time.
0 commit comments