pgsql: Clarify comment about assignment and reset of temp namespace ID

2018-08-20 Thread Michael Paquier
Clarify comment about assignment and reset of temp namespace ID in MyProc

The new wording comes from Álvaro, which I modified a bit.

Reported-by: Andres Freund, Álvaro Herrera
Author: Álvaro Herrera, Michael Paquier
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 11

Branch
--
REL_11_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/9fc9933695af4e233c2da704be4ad5c681cf7104

Modified Files
--
src/backend/catalog/namespace.c | 26 --
1 file changed, 16 insertions(+), 10 deletions(-)



pgsql: Clarify comment about assignment and reset of temp namespace ID

2018-08-20 Thread Michael Paquier
Clarify comment about assignment and reset of temp namespace ID in MyProc

The new wording comes from Álvaro, which I modified a bit.

Reported-by: Andres Freund, Álvaro Herrera
Author: Álvaro Herrera, Michael Paquier
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 11

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/1339fcc896173407d6930dffbc185fe08f1ae86b

Modified Files
--
src/backend/catalog/namespace.c | 26 --
1 file changed, 16 insertions(+), 10 deletions(-)



pgsql: Fix typo in description of enable_parallel_hash

2018-08-20 Thread Michael Paquier
Fix typo in description of enable_parallel_hash

Author: Kyotaro Horiguchi
Discussion: 
https://postgr.es/m/[email protected]

Branch
--
REL_11_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/87c596cda6d7c79266cde44a1e9fc8ea1b8acefa

Modified Files
--
src/backend/utils/misc/guc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



pgsql: Fix typo in description of enable_parallel_hash

2018-08-20 Thread Michael Paquier
Fix typo in description of enable_parallel_hash

Author: Kyotaro Horiguchi
Discussion: 
https://postgr.es/m/[email protected]

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/d8c83800c3ed2f0d677eb6620a9e9dc7b81a678b

Modified Files
--
src/backend/utils/misc/guc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



pgsql: Fix set of NLS translation issues

2018-08-20 Thread Michael Paquier
Fix set of NLS translation issues

While monitoring the code, a couple of issues related to string
translation has showed up:
- Some routines for auto-updatable views return an error string, which
sometimes missed the shot.  A comment regarding string translation is
added for each routine to help with future features.
- GSSAPI authentication missed two translations.
- vacuumdb handles non-translated strings.

Reported-by: Kyotaro Horiguchi
Author: Kyotaro Horiguchi
Reviewed-by: Michael Paquier, Tom Lane
Discussion: 
https://postgr.es/m/[email protected]
Backpatch-through: 9.3

Branch
--
REL_11_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/3ef153c7157fd679c0acc20433c99d109b16222b

Modified Files
--
src/backend/commands/tablecmds.c |  2 +-
src/backend/commands/view.c  |  2 +-
src/backend/libpq/auth.c | 13 +++--
src/backend/rewrite/rewriteHandler.c |  9 +
src/bin/scripts/vacuumdb.c   |  2 +-
5 files changed, 23 insertions(+), 5 deletions(-)



pgsql: Fix set of NLS translation issues

2018-08-20 Thread Michael Paquier
Fix set of NLS translation issues

While monitoring the code, a couple of issues related to string
translation has showed up:
- Some routines for auto-updatable views return an error string, which
sometimes missed the shot.  A comment regarding string translation is
added for each routine to help with future features.
- GSSAPI authentication missed two translations.
- vacuumdb handles non-translated strings.

Reported-by: Kyotaro Horiguchi
Author: Kyotaro Horiguchi
Reviewed-by: Michael Paquier, Tom Lane
Discussion: 
https://postgr.es/m/[email protected]
Backpatch-through: 9.3

Branch
--
REL9_5_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/6120f2234d7699849a429e5881fdb242fb6b941e

Modified Files
--
src/backend/commands/tablecmds.c |  2 +-
src/backend/commands/view.c  |  2 +-
src/backend/libpq/auth.c | 13 +++--
src/backend/rewrite/rewriteHandler.c |  9 +
src/bin/scripts/vacuumdb.c   |  2 +-
5 files changed, 23 insertions(+), 5 deletions(-)



pgsql: Fix set of NLS translation issues

2018-08-20 Thread Michael Paquier
Fix set of NLS translation issues

While monitoring the code, a couple of issues related to string
translation has showed up:
- Some routines for auto-updatable views return an error string, which
sometimes missed the shot.  A comment regarding string translation is
added for each routine to help with future features.
- GSSAPI authentication missed two translations.
- vacuumdb handles non-translated strings.
- GetConfigOptionByNum should translate strings.  This part is not
back-patched as after a minor upgrade this could be surprising for
users.

Reported-by: Kyotaro Horiguchi
Author: Kyotaro Horiguchi
Reviewed-by: Michael Paquier, Tom Lane
Discussion: 
https://postgr.es/m/[email protected]
Backpatch-through: 9.3

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/72be8c29a18812975fcc8765a122faf0e4d0c755

Modified Files
--
src/backend/commands/tablecmds.c |  2 +-
src/backend/commands/view.c  |  2 +-
src/backend/libpq/auth.c | 13 +++--
src/backend/rewrite/rewriteHandler.c |  9 +
src/backend/utils/misc/guc.c |  6 +++---
src/bin/scripts/vacuumdb.c   |  2 +-
6 files changed, 26 insertions(+), 8 deletions(-)



pgsql: Fix set of NLS translation issues

2018-08-20 Thread Michael Paquier
Fix set of NLS translation issues

While monitoring the code, a couple of issues related to string
translation has showed up:
- Some routines for auto-updatable views return an error string, which
sometimes missed the shot.  A comment regarding string translation is
added for each routine to help with future features.
- GSSAPI authentication missed two translations.

Reported-by: Kyotaro Horiguchi
Author: Kyotaro Horiguchi
Reviewed-by: Michael Paquier, Tom Lane
Discussion: 
https://postgr.es/m/[email protected]
Backpatch-through: 9.3

Branch
--
REL9_4_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/788ae09f4a9560c344a0c8457ffb66bba42be0a7

Modified Files
--
src/backend/commands/tablecmds.c |  2 +-
src/backend/commands/view.c  |  2 +-
src/backend/libpq/auth.c | 13 +++--
src/backend/rewrite/rewriteHandler.c |  9 +
4 files changed, 22 insertions(+), 4 deletions(-)



pgsql: Fix set of NLS translation issues

2018-08-20 Thread Michael Paquier
Fix set of NLS translation issues

While monitoring the code, a couple of issues related to string
translation has showed up:
- Some routines for auto-updatable views return an error string, which
sometimes missed the shot.  A comment regarding string translation is
added for each routine to help with future features.
- GSSAPI authentication missed two translations.
- vacuumdb handles non-translated strings.

Reported-by: Kyotaro Horiguchi
Author: Kyotaro Horiguchi
Reviewed-by: Michael Paquier, Tom Lane
Discussion: 
https://postgr.es/m/[email protected]
Backpatch-through: 9.3

Branch
--
REL_10_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/ecf56dc5e5b61e76de4cf2ed2a25b05718d45e9c

Modified Files
--
src/backend/commands/tablecmds.c |  2 +-
src/backend/commands/view.c  |  2 +-
src/backend/libpq/auth.c | 13 +++--
src/backend/rewrite/rewriteHandler.c |  9 +
src/bin/scripts/vacuumdb.c   |  2 +-
5 files changed, 23 insertions(+), 5 deletions(-)



pgsql: Fix set of NLS translation issues

2018-08-20 Thread Michael Paquier
Fix set of NLS translation issues

While monitoring the code, it has been noticed that GSSAPI
authentication missed two translations.

Reported-by: Kyotaro Horiguchi
Author: Kyotaro Horiguchi
Reviewed-by: Michael Paquier, Tom Lane
Discussion: 
https://postgr.es/m/[email protected]
Backpatch-through: 9.3

Branch
--
REL9_3_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/f64e65bd76ef1ae41d2dcbdb37c09fc015b5ccac

Modified Files
--
src/backend/libpq/auth.c | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)



pgsql: Fix set of NLS translation issues

2018-08-20 Thread Michael Paquier
Fix set of NLS translation issues

While monitoring the code, a couple of issues related to string
translation has showed up:
- Some routines for auto-updatable views return an error string, which
sometimes missed the shot.  A comment regarding string translation is
added for each routine to help with future features.
- GSSAPI authentication missed two translations.
- vacuumdb handles non-translated strings.

Reported-by: Kyotaro Horiguchi
Author: Kyotaro Horiguchi
Reviewed-by: Michael Paquier, Tom Lane
Discussion: 
https://postgr.es/m/[email protected]
Backpatch-through: 9.3

Branch
--
REL9_6_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/90b0f30aea0ee456614ec97f518ffaf8ca6c3b05

Modified Files
--
src/backend/commands/tablecmds.c |  2 +-
src/backend/commands/view.c  |  2 +-
src/backend/libpq/auth.c | 13 +++--
src/backend/rewrite/rewriteHandler.c |  9 +
src/bin/scripts/vacuumdb.c   |  2 +-
5 files changed, 23 insertions(+), 5 deletions(-)