Jose Velasquez

Generation

generate functionSun, 18 Jun 2023

pgpool 4.2.4 recovery_node

/* * If the node is a standby node, read the specified WAL file * to perform recovery. */ if (RECOVERY_ARCHIVE == recovery_type) { if (strlen(recovery_file) == 0) { /* recovery from pg_xlog directory */ recovery_from_xlogdir = 1; ereport(LOG, (errmsg("performing recovery from pg_xlog directory"), errhidestmt(true))); } else { /* recovery from an archive */ recovery_from_archive = 1; ereport(LOG, (errmsg("performing recovery from archive"), errhidestmt(true))); } }

Questions about programming?Chat with your personal AI assistant