rafaelma / pgbackman

PostgreSQL backup manager
https://e-mc2.net/projects/pgbackman/
GNU General Public License v3.0
40 stars 11 forks source link

Add support for postgreSQL10 #55

Open rafaelma opened 7 years ago

rafaelma commented 7 years ago

Add support for postgreSQL10

ng-pe commented 6 years ago

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

https://github.com/rafaelma/pgbackman/blob/73085166d0b8b98b450ca0e5806104c5394ff621/pgbackman/database.py#L3379 https://github.com/rafaelma/pgbackman/blob/73085166d0b8b98b450ca0e5806104c5394ff621/pgbackman/database.py#L3336 https://github.com/rafaelma/pgbackman/blob/73085166d0b8b98b450ca0e5806104c5394ff621/pgbackman/database.py#L3362

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,

rafaelma commented 6 years ago

Thanks for the feedback.

You are right, good catch. Will do.

regards Rafael Martinez Guerrero