rafaelma / pgbackman

PostgreSQL backup manager

Home Page:https://e-mc2.net/projects/pgbackman/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for postgreSQL10

rafaelma opened this issue · comments

Add support for postgreSQL10

Hi,
The support is partial, don't forget to modify the functions as here :) :

self.cur.execute('SELECT pg_xlog_replay_resume()')

self.cur.execute('SELECT pg_is_xlog_replay_paused()')

self.cur.execute('SELECT pg_xlog_replay_pause()')

One of the major changes in Postgresql 10 is the change of some functions (XLOG=>WAL), It would therefore be necessary to make a routine that detects the server version to modify these SQL requests.
Yours sincerely,

Thanks for the feedback.

You are right, good catch. Will do.

regards
Rafael Martinez Guerrero