pg_ctl在非资源池化场景修复

This commit is contained in:
chenzhikai
2023-06-15 14:33:55 +08:00
parent 6039b79c19
commit 208ceb20c7

View File

@ -7246,13 +7246,11 @@ static int get_instance_id(void)
static int ss_get_primary_id(void)
{
if (instance_config.dss.socketpath == NULL) {
pg_log(PG_WARNING, _("socketpath cannot be NULL when enable dss\n"));
exit(1);
return -1;
}
if (instance_config.dss.vgname == NULL) {
pg_log(PG_WARNING, _("the DATADIR is not correct with enable dss\n"));
exit(1);
return -1;
}
int fd = -1;