El mié., 22 de jul. de 2020 a la(s) 11:38, kernel (jucab...@gmail.com)
escribió:

>
> Hola tengo una script para hacer una backup de una maquina esclava :
>
> file=$(date +%a-%H-%M)
> PGCLIENTENCODING=UTF-8
> export PGCLIENTENCODING
> psql  -U postgres -c 'SELECT pg_xlog_replay_pause()' -o /u/temp/x
> /usr/bin/pg_dump -U postgres $2  -f $1/datos.sql
> psql  -U postgres -c 'SELECT pg_xlog_replay_resume()' -o /u/temp/x
> tar -P -zcf $1/$file.gz $1/datos.sql >/dev/null 2>&1
> rm $1/datos.sql
>
>
> He instalado postgresql version 11 y ahora me dice que no existe la funcion
>
>
> ERROR:  function pg_xlog_replay_pause() does not exist
> LÍNEA 1: SELECT pg_xlog_replay_pause()
>
>
> ¿hay alguna funcion que la sustituya?
>

Aquí puedes mirar:

https://www.postgresql.org/docs/11/functions-admin.html#FUNCTIONS-RECOVERY-CONTROL-TABLE


-- 
Daymel Bonne
Database Consultant, Training & Services
2ndQuadrant - PostgreSQL Solutions for the Enterprise
https://www.2ndQuadrant.com/ <https://www.2ndquadrant.com/>

Reply via email to