pgbackman icon indicating copy to clipboard operation
pgbackman copied to clipboard

Add support for postgreSQL10

Open rafaelma opened this issue 7 years ago • 2 comments

Add support for postgreSQL10

rafaelma avatar Jun 25 '17 22:06 rafaelma

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,

ng-pe avatar Dec 20 '17 15:12 ng-pe

Thanks for the feedback.

You are right, good catch. Will do.

regards Rafael Martinez Guerrero

rafaelma avatar Dec 30 '17 06:12 rafaelma