Jose Velasquez

Generation

generate functionSat, 17 Jun 2023

enviar contraseña a pcp_recovery_node -h 192.168.1.48 -p 9898 -U pgpool -n 1

#include "postgres.h" #include <string.h> #include "fmgr.h" #include "libpq/pqformat.h" /* needed for send/recv functions */ #include "utils/guc.h" #ifdef PG_MODULE_MAGIC PG_MODULE_MAGIC; #endif PG_FUNCTION_INFO_V1(pcp_recovery_node); Datum pcp_recovery_node(PG_FUNCTION_ARGS) { int32 id = PG_GETARG_INT32(0); int rc; int ret; char *node_info = NULL; char *pcp_recovery_node_path = "/usr/local/bin/pcp_recovery_node"; char *pcp_recovery_node_args = "-h 192.168.1.48 -p 9898 -U pgpool -n"; char pcp_recovery_node_com[100] =

Questions about programming?Chat with your personal AI assistant