pgsql: Add semicolons to end of internally run queries

2018-08-30 Thread Peter Eisentraut
Add semicolons to end of internally run queries This ensures that the --echo output of various tools (under scripts) is valid multiline SQL. Author: Tatsuro Yamada Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/7061e03319d9a31f02d3777ca856b6c33e7a0967 Modified F

pgsql: pg_dump: Reorganize getTableAttrs()

2018-08-30 Thread Peter Eisentraut
pg_dump: Reorganize getTableAttrs() Instead of repeating the almost same large query in each version branch, use one query and add a few columns to the SELECT list depending on the version. This saves a lot of duplication. Reviewed-by: Tom Lane Branch -- master Details --- https://git

pgsql: pg_verify_checksums: rename -d to --verbose

2018-08-30 Thread Alvaro Herrera
pg_verify_checksums: rename -d to --verbose Using -d is odd, because we normally reserve that for a database argument, so rename it to -v and add long version --verbose. Also, reduce it to emit one line per file checked rather than one line per block. Per a complaint from Michael Banck. Author:

pgsql: pg_verify_checksums: rename -d to --verbose

2018-08-30 Thread Alvaro Herrera
pg_verify_checksums: rename -d to --verbose Using -d is odd, because we normally reserve that for a database argument, so rename it to -v and add long version --verbose. Also, reduce it to emit one line per file checked rather than one line per block. Per a complaint from Michael Banck. Author:

pgsql: Mention change of width of values generated by SERIAL sequences

2018-08-30 Thread Alvaro Herrera
Mention change of width of values generated by SERIAL sequences This changed during pg10 development, but had not been documented. Co-authored-by: Jonathan S. Katz Discussion: https://postgr.es/m/[email protected] Branch -- master Details --- https://git.po

pgsql: Mention change of width of values generated by SERIAL sequences

2018-08-30 Thread Alvaro Herrera
Mention change of width of values generated by SERIAL sequences This changed during pg10 development, but had not been documented. Co-authored-by: Jonathan S. Katz Discussion: https://postgr.es/m/[email protected] Branch -- REL_10_STABLE Details --- https:/

pgsql: Mention change of width of values generated by SERIAL sequences

2018-08-30 Thread Alvaro Herrera
Mention change of width of values generated by SERIAL sequences This changed during pg10 development, but had not been documented. Co-authored-by: Jonathan S. Katz Discussion: https://postgr.es/m/[email protected] Branch -- REL_11_STABLE Details --- https:/