Jose Velasquez

Generation

generate functionSat, 17 Jun 2023

como ejecutar pcp_recovery_node -h 192.168.1.48 -p 9898 -U pgpool -n 1 sin contraseña

int main(int argc, char **argv) { char *cpasswd = NULL; char cmd[1024]; int c; int nodenum = 0; while ((c = getopt(argc, argv, "h:p:U:W:n:")) != -1) { switch (c) { case 'h': pcp_host = pg_strdup(optarg); break; case 'p': pcp_port = atoi(optarg); break; case 'U': pcp_user = pg_strdup(optarg); break; case 'W': cpasswd = pg_strdup(optarg); break; case 'n': nodenum = atoi(optarg); break; default: fprintf(stderr, _("Try \"%s --help\" for more information.\n"), progname); exit(1); }

Questions about programming?Chat with your personal AI assistant