Content-Length: 259474 | pFad | http://github.com/postgrespro/mmts/commit/dceff14aa025cfd68f145d6a52f107e651d8124e
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef0c766 commit dceff14Copy full SHA for dceff14
src/multimaster.c
@@ -933,7 +933,8 @@ mtm_init_cluster(PG_FUNCTION_ARGS)
933
934
/* parse array with peer connstrings */
935
Assert(ARR_ELEMTYPE(peers_arr) == TEXTOID);
936
- Assert(ARR_NDIM(peers_arr) == 1);
+ if (ARR_NDIM(peers_arr) != 1)
937
+ mtm_log(ERROR, "node list should not be empty");
938
deconstruct_array(peers_arr,
939
TEXTOID, -1, false, 'i',
940
&peers_datums, &peers_nulls, &n_peers);
Fetched URL: http://github.com/postgrespro/mmts/commit/dceff14aa025cfd68f145d6a52f107e651d8124e
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments