pgsql: pycodestyle (PEP 8) cleanup in Python scripts

2022-03-09 Thread Peter Eisentraut
pycodestyle (PEP 8) cleanup in Python scripts These are mainly whitespace changes. I didn't fix "E501 line too long", which would require more significant surgery. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/ddf590b8115212ea061f9428f20f4c36d8e25e62 Modified Fi

pgsql: unaccent: Remove Python 2 support from Python script

2022-03-09 Thread Peter Eisentraut
unaccent: Remove Python 2 support from Python script This is a maintainer-only script, but since we're removing Python 2 support elsewhere, we might as well clean this one up as well. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/e80a7a1f3d65e34fff73166d42abe0e2d5

pgsql: Add parse_analyze_withcb()

2022-03-09 Thread Peter Eisentraut
Add parse_analyze_withcb() This extracts code from pg_analyze_and_rewrite_withcb() into a separate function that mirrors the existing parse_analyze_fixedparams() and parse_analyze_varparams(). Reviewed-by: Nathan Bossart Discussion: https://www.postgresql.org/message-id/flat/c67ce276-52b4-0239-

pgsql: Fix double declaration for check_ok() in pg_upgrade.h

2022-03-09 Thread Peter Eisentraut
Fix double declaration for check_ok() in pg_upgrade.h Author: Pavel Borisov Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/2cfde3c2371860aa6c05f84c3fbec9c400ab6b1a Modified Files -- src/bin/pg_upgrade/pg_upgrade.h | 1 - 1 file changed, 1 deletion(-)

pgsql: ldap tests: Don't run on unsupported operating systems.

2022-03-09 Thread Andres Freund
ldap tests: Don't run on unsupported operating systems. The tests currently fail on unsupported operating systems, rather than getting skipped. The ony reason this doesn't cause problems is that the tests aren't run by default. Discussion: https://postgr.es/m/721828a7-3043-6803-a85b-da63538db...

pgsql: ldap tests: Add paths for openbsd.

2022-03-09 Thread Andres Freund
ldap tests: Add paths for openbsd. Discussion: https://postgr.es/m/721828a7-3043-6803-a85b-da63538db...@enterprisedb.com Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/45fb0de4dc65f43a037fe7c90f360ae0596d9328 Modified Files -- src/test/ldap/t/001_auth