testgres
testgres copied to clipboard
Testing framework for PostgreSQL and its extensions
For example: node_old = get_new_node(prefix='/path/to/old/pg/prefix') node_old.init() node_new=get_new_node(prefix='/path/to/new/pg/prefix') node_new.init() node_new.upgade_from(old=node_old)
Previously it was returning text, so now you have to manually decode it.
Hi, This is not an issue but just a quick question about the tool. Can I use testgres to test a DB cluster installed on remote host ? Thanks, Kapil.
This function should be exposed in the package to be able to reuse it when there is a need to run commands in tests like e.g. this: https://github.com/postgrespro/pg_probackup/blob/22c808312f67a060cda3bb36e5a032784a5810f9/tests/helpers/ptrack_helpers.py#L98
Change of travis domain to new
For example sudo version 1.8.25p1: [root@centos-8 ~]# sudo -u test sh -c 'python3 -c "import getpass; print(getpass.getuser())"'; root [root@centos-8 ~]# sudo -u test sh -c 'python3 -c "import os; print(os.getlogin())"';...
pg_probackup2/app.py