pgsql: Remove redundant translation markers

2018-12-29 Thread Peter Eisentraut
Remove redundant translation markers psql_error() already handles that itself. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/e3299d36a938c7af386b240f318c7b9e55bdc92d Modified Files -- src/bin/psql/command.c | 2 +- src/bin/psql/common.c | 6 +++--- 2 f

pgsql: pg_rewind: Add missing newline to error message

2018-12-29 Thread Peter Eisentraut
pg_rewind: Add missing newline to error message Branch -- REL_11_STABLE Details --- https://git.postgresql.org/pg/commitdiff/025cc86b77052ee130519ce2dcfa52abeedc5bef Modified Files -- src/bin/pg_rewind/pg_rewind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

pgsql: pg_rewind: Add missing newline to error message

2018-12-29 Thread Peter Eisentraut
pg_rewind: Add missing newline to error message Branch -- REL9_6_STABLE Details --- https://git.postgresql.org/pg/commitdiff/55fde981c299550d96742799f1bfa36220cc1b7c Modified Files -- src/bin/pg_rewind/pg_rewind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

pgsql: pg_rewind: Add missing newline to error message

2018-12-29 Thread Peter Eisentraut
pg_rewind: Add missing newline to error message Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/commitdiff/af99ad191a3cee6fd565552574acb07fad53eb37 Modified Files -- src/bin/pg_rewind/pg_rewind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

pgsql: pg_rewind: Add missing newline to error message

2018-12-29 Thread Peter Eisentraut
pg_rewind: Add missing newline to error message Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/1a4eba4e246480466c04feb81f76866e7dcb2827 Modified Files -- src/bin/pg_rewind/pg_rewind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

pgsql: Use a separate random seed for SQL random()/setseed() functions.

2018-12-29 Thread Tom Lane
Use a separate random seed for SQL random()/setseed() functions. Previously, the SQL random() function depended on libc's random(3), and setseed() invoked srandom(3). This results in interference between these functions and backend-internal uses of random(3). We'd never paid too much mind to tha

pgsql: Use pg_strong_random() to select each server process's random se

2018-12-29 Thread Tom Lane
Use pg_strong_random() to select each server process's random seed. Previously we just set the seed based on process ID and start timestamp. Both those values are directly available within the session, and can be found out or guessed by other users too, making the session's series of random(3) val

pgsql: Trigger stmt_beg and stmt_end for top-level statement blocks of

2018-12-29 Thread Michael Paquier
Trigger stmt_beg and stmt_end for top-level statement blocks of PL/pgSQL PL/pgSQL provides a set of callbacks which can be used for extra instrumentation of functions written in this language called at function setup, begin and end, as well as statement begin and end. When calling a routine, a tr