pgsql: Tag refs/tags/REL9_6_8 was created

2018-02-27 Thread pgsql
Tag refs/tags/REL9_6_8 was created.

pgsql: Tag refs/tags/REL9_3_22 was created

2018-02-27 Thread pgsql
Tag refs/tags/REL9_3_22 was created.

pgsql: Tag refs/tags/REL9_4_17 was created

2018-02-27 Thread pgsql
Tag refs/tags/REL9_4_17 was created.

pgsql: Tag refs/tags/REL9_5_12 was created

2018-02-27 Thread pgsql
Tag refs/tags/REL9_5_12 was created.

pgsql: Tag refs/tags/REL_10_3 was created

2018-02-27 Thread pgsql
Tag refs/tags/REL_10_3 was created.

Re: pgsql: Avoid valgrind complaint about write() of uninitalized bytes.

2018-02-27 Thread Peter Geoghegan
On Thu, Feb 22, 2018 at 6:32 AM, Robert Haas wrote: >> Attached patch does this. I cannot recreate this issue locally, but >> this should still fix it on skink. > > Committed. Looks like it worked. -- Peter Geoghegan

pgsql: Fix up ecpg's configuration so it handles "long long int" in MSV

2018-02-27 Thread Tom Lane
Fix up ecpg's configuration so it handles "long long int" in MSVC builds. Although configure-based builds correctly define HAVE_LONG_LONG_INT when appropriate (in both pg_config.h and ecpg_config.h), builds using the MSVC scripts failed to do so. This currently has no impact on the backend, since

pgsql: Fix up ecpg's configuration so it handles "long long int" in MSV

2018-02-27 Thread Tom Lane
Fix up ecpg's configuration so it handles "long long int" in MSVC builds. Although configure-based builds correctly define HAVE_LONG_LONG_INT when appropriate (in both pg_config.h and ecpg_config.h), builds using the MSVC scripts failed to do so. This currently has no impact on the backend, since

pgsql: Fix up ecpg's configuration so it handles "long long int" in MSV

2018-02-27 Thread Tom Lane
Fix up ecpg's configuration so it handles "long long int" in MSVC builds. Although configure-based builds correctly define HAVE_LONG_LONG_INT when appropriate (in both pg_config.h and ecpg_config.h), builds using the MSVC scripts failed to do so. This currently has no impact on the backend, since

pgsql: Fix up ecpg's configuration so it handles "long long int" in MSV

2018-02-27 Thread Tom Lane
Fix up ecpg's configuration so it handles "long long int" in MSVC builds. Although configure-based builds correctly define HAVE_LONG_LONG_INT when appropriate (in both pg_config.h and ecpg_config.h), builds using the MSVC scripts failed to do so. This currently has no impact on the backend, since

pgsql: Fix up ecpg's configuration so it handles "long long int" in MSV

2018-02-27 Thread Tom Lane
Fix up ecpg's configuration so it handles "long long int" in MSVC builds. Although configure-based builds correctly define HAVE_LONG_LONG_INT when appropriate (in both pg_config.h and ecpg_config.h), builds using the MSVC scripts failed to do so. This currently has no impact on the backend, since

pgsql: Fix up ecpg's configuration so it handles "long long int" in MSV

2018-02-27 Thread Tom Lane
Fix up ecpg's configuration so it handles "long long int" in MSVC builds. Although configure-based builds correctly define HAVE_LONG_LONG_INT when appropriate (in both pg_config.h and ecpg_config.h), builds using the MSVC scripts failed to do so. This currently has no impact on the backend, since

pgsql: Use the correct tuplestore read pointer in a NamedTuplestoreScan

2018-02-27 Thread Tom Lane
Use the correct tuplestore read pointer in a NamedTuplestoreScan. Tom Kazimiers reported that transition tables don't work correctly when they are scanned by more than one executor node. That's because commit 18ce3a4ab allocated separate read pointers for each executor node, as it must, but faile

pgsql: Use the correct tuplestore read pointer in a NamedTuplestoreScan

2018-02-27 Thread Tom Lane
Use the correct tuplestore read pointer in a NamedTuplestoreScan. Tom Kazimiers reported that transition tables don't work correctly when they are scanned by more than one executor node. That's because commit 18ce3a4ab allocated separate read pointers for each executor node, as it must, but faile

pgsql: Remove regression tests' CREATE FUNCTION commands for unused C f

2018-02-27 Thread Tom Lane
Remove regression tests' CREATE FUNCTION commands for unused C functions. I removed these functions altogether in HEAD, in commit db3af9feb, and it emerges that that causes trouble for cross-branch upgrade testing. We could put back stub functions but that seems pretty silly. Instead, back-patch

pgsql: Remove regression tests' CREATE FUNCTION commands for unused C f

2018-02-27 Thread Tom Lane
Remove regression tests' CREATE FUNCTION commands for unused C functions. I removed these functions altogether in HEAD, in commit db3af9feb, and it emerges that that causes trouble for cross-branch upgrade testing. We could put back stub functions but that seems pretty silly. Instead, back-patch

pgsql: Remove regression tests' CREATE FUNCTION commands for unused C f

2018-02-27 Thread Tom Lane
Remove regression tests' CREATE FUNCTION commands for unused C functions. I removed these functions altogether in HEAD, in commit db3af9feb, and it emerges that that causes trouble for cross-branch upgrade testing. We could put back stub functions but that seems pretty silly. Instead, back-patch

pgsql: Remove regression tests' CREATE FUNCTION commands for unused C f

2018-02-27 Thread Tom Lane
Remove regression tests' CREATE FUNCTION commands for unused C functions. I removed these functions altogether in HEAD, in commit db3af9feb, and it emerges that that causes trouble for cross-branch upgrade testing. We could put back stub functions but that seems pretty silly. Instead, back-patch

pgsql: Remove regression tests' CREATE FUNCTION commands for unused C f

2018-02-27 Thread Tom Lane
Remove regression tests' CREATE FUNCTION commands for unused C functions. I removed these functions altogether in HEAD, in commit db3af9feb, and it emerges that that causes trouble for cross-branch upgrade testing. We could put back stub functions but that seems pretty silly. Instead, back-patch

pgsql: Revert renaming of int44in/int44out.

2018-02-27 Thread Tom Lane
Revert renaming of int44in/int44out. This seemed like a good idea in commit be42eb9d6, but it causes more trouble than it's worth for cross-branch upgrade testing. Discussion: https://postgr.es/m/[email protected] Branch -- master Details --- https://git.postgresql.org/pg/c

pgsql: doc: Fix grammar.

2018-02-27 Thread Robert Haas
doc: Fix grammar. Michael Paquier Discussion: http://postgr.es/m/[email protected] Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/6614aaa699bcff77fbcbc349fc678b8bfb060b9a Modified Files -- doc/src/sgml/monitoring.sgml | 2 +- 1 file ch

pgsql: Prevent dangling-pointer access when update trigger returns old

2018-02-27 Thread Tom Lane
Prevent dangling-pointer access when update trigger returns old tuple. A before-update row trigger may choose to return the "new" or "old" tuple unmodified. ExecBRUpdateTriggers failed to consider the second possibility, and would proceed to free the "old" tuple even if it was the one returned, l

pgsql: Prevent dangling-pointer access when update trigger returns old

2018-02-27 Thread Tom Lane
Prevent dangling-pointer access when update trigger returns old tuple. A before-update row trigger may choose to return the "new" or "old" tuple unmodified. ExecBRUpdateTriggers failed to consider the second possibility, and would proceed to free the "old" tuple even if it was the one returned, l

pgsql: Prevent dangling-pointer access when update trigger returns old

2018-02-27 Thread Tom Lane
Prevent dangling-pointer access when update trigger returns old tuple. A before-update row trigger may choose to return the "new" or "old" tuple unmodified. ExecBRUpdateTriggers failed to consider the second possibility, and would proceed to free the "old" tuple even if it was the one returned, l

pgsql: Prevent dangling-pointer access when update trigger returns old

2018-02-27 Thread Tom Lane
Prevent dangling-pointer access when update trigger returns old tuple. A before-update row trigger may choose to return the "new" or "old" tuple unmodified. ExecBRUpdateTriggers failed to consider the second possibility, and would proceed to free the "old" tuple even if it was the one returned, l

pgsql: Prevent dangling-pointer access when update trigger returns old

2018-02-27 Thread Tom Lane
Prevent dangling-pointer access when update trigger returns old tuple. A before-update row trigger may choose to return the "new" or "old" tuple unmodified. ExecBRUpdateTriggers failed to consider the second possibility, and would proceed to free the "old" tuple even if it was the one returned, l

pgsql: Prevent dangling-pointer access when update trigger returns old

2018-02-27 Thread Tom Lane
Prevent dangling-pointer access when update trigger returns old tuple. A before-update row trigger may choose to return the "new" or "old" tuple unmodified. ExecBRUpdateTriggers failed to consider the second possibility, and would proceed to free the "old" tuple even if it was the one returned, l

pgsql: Minor cleanup of code related to partially_grouped_rel.

2018-02-27 Thread Robert Haas
Minor cleanup of code related to partially_grouped_rel. Jeevan Chalke Discussion: http://postgr.es/m/CAM2+6=x9kxqol2zqz00e6asbt9z+rfywbomhxj0+8fpaymz...@mail.gmail.com Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/5e6a63c0d1028b9950c9cbcd7aaf9f2a67880a8d Modifi

pgsql: Fix logic error in add_paths_to_partial_grouping_rel.

2018-02-27 Thread Robert Haas
Fix logic error in add_paths_to_partial_grouping_rel. Commit 3bf05e096b9f8375e640c5d7996aa57efd7f240c sometimes uses the cheapest_partial_path variable in this function to mean the cheapest one from the input rel and at other times the cheapest one from the partially grouped rel, but it never rese

pgsql: Improve regression test coverage of regress.c.

2018-02-27 Thread Tom Lane
Improve regression test coverage of regress.c. It's a bit silly to have test functions that aren't tested, so test them. In passing, rename int44in/int44out to city_budget_in/_out so that they match how the regression tests use them. Also, fix city_budget_out so that it emits the format city_bud

pgsql: Remove unused functions in regress.c.

2018-02-27 Thread Tom Lane
Remove unused functions in regress.c. This patch removes five functions that presumably were once used in the regression tests, but haven't been so used in many years. Nonetheless we've been wasting maintenance effort on them (e.g., by converting them to V1 function protocol). I see no reason to

pgsql: Revert restructuring of bin/scripts/Makefile

2018-02-27 Thread Magnus Hagander
Revert restructuring of bin/scripts/Makefile The Makefile portion of 91f3ffc5249eff99c311fb27e7b29a44d9c62be1 broke the MSVC build. This patch reverts the changes to the Makefile and adjusts it to work with the new code, while keeping the actual code changes from the original patch. Author: Victo

pgsql: Revert restructuring of bin/scripts/Makefile

2018-02-27 Thread Magnus Hagander
Revert restructuring of bin/scripts/Makefile The Makefile portion of 91f3ffc5249eff99c311fb27e7b29a44d9c62be1 broke the MSVC build. This patch reverts the changes to the Makefile and adjusts it to work with the new code, while keeping the actual code changes from the original patch. Author: Victo

pgsql: Revert restructuring of bin/scripts/Makefile

2018-02-27 Thread Magnus Hagander
Revert restructuring of bin/scripts/Makefile The Makefile portion of 91f3ffc5249eff99c311fb27e7b29a44d9c62be1 broke the MSVC build. This patch reverts the changes to the Makefile and adjusts it to work with the new code, while keeping the actual code changes from the original patch. Author: Victo