pgsql: pycodestyle (PEP 8) cleanup in Python scripts
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 Files -- contrib/unaccent/generate_unaccent_rules.py | 54 ++--- src/test/locale/sort-test.py| 10 +++--- 2 files changed, 40 insertions(+), 24 deletions(-)
pgsql: unaccent: Remove Python 2 support from Python script
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/e80a7a1f3d65e34fff73166d42abe0e2d5f91add Modified Files -- contrib/unaccent/generate_unaccent_rules.py | 29 + 1 file changed, 5 insertions(+), 24 deletions(-)
pgsql: Add parse_analyze_withcb()
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-dc0e-39875bf81...@enterprisedb.com Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/df4c3cbd8f4f619785c735669150e3a1df9cf7ca Modified Files -- src/backend/parser/analyze.c | 38 ++ src/backend/tcop/postgres.c | 22 ++ src/include/parser/analyze.h | 5 + 3 files changed, 45 insertions(+), 20 deletions(-)
pgsql: Fix double declaration for check_ok() in pg_upgrade.h
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.
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...@enterprisedb.com Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/ee56c3b21629277cf7f2e6398e7dd4e40c11df3c Modified Files -- src/test/ldap/t/001_auth.pl | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-)
pgsql: ldap tests: Add paths for openbsd.
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.pl | 5 + 1 file changed, 5 insertions(+)