[COMMITTERS] pgsql: Fix unaligned memory access in xlog parsing due to replication o

2015-05-01 Thread Andres Freund
Fix unaligned memory access in xlog parsing due to replication origin patch. ParseCommitRecord() accessed xl_xact_origin directly. But the chunks in the commit record's data only have 4 byte alignment, whereas xl_xact_origin's members require 8 byte alignment on some platforms. Update comments to

[COMMITTERS] pgsql: Copy editing of the replication origins patch.

2015-05-01 Thread Andres Freund
Copy editing of the replication origins patch. Michael Paquier and myself. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/2b22795b32576fa7173b501b646581a17de35902 Modified Files -- doc/src/sgml/func.sgml |5 ++--- doc/src/sgml/re

Re: [COMMITTERS] pgsql: Introduce replication progress tracking infrastructure.

2015-05-01 Thread Andres Freund
On 2015-04-30 13:56:08 +0900, Michael Paquier wrote: > On Thu, Apr 30, 2015 at 2:37 AM, Andres Freund wrote: > > Introduce replication progress tracking infrastructure. > > [...] > > Some comments about the docs: > 1) "the the": > + > +Create a replication origin with the the passe

Re: [COMMITTERS] pgsql: Copy editing of the replication origins patch.

2015-05-01 Thread Michael Paquier
On Fri, May 1, 2015 at 7:26 PM, Andres Freund wrote: > Copy editing of the replication origins patch. > > Michael Paquier and myself. -* Needs to fit into a uint16, so we don't waste too much space in WAL +* Needs to fit into an uint16, so we don't waste too much space in WAL Actu

[COMMITTERS] pgsql: Allow FDWs and custom scan providers to replace joins with scans

2015-05-01 Thread Robert Haas
Allow FDWs and custom scan providers to replace joins with scans. Foreign data wrappers can use this capability for so-called "join pushdown"; that is, instead of executing two separate foreign scans and then joining the results locally, they can generate a path which performs the join on the remo

[COMMITTERS] pgsql: Deparse named arguments to use the new => operator instead of :=

2015-05-01 Thread Robert Haas
Deparse named arguments to use the new => operator instead of := Tom Lane pointed out that this wasn't done, and asked whether that was intentional. Subsequent discussion was in favor of making the change, so here we go. Branch -- master Details --- http://git.postgresql.org/pg/commitdi

[COMMITTERS] pgsql: Mark views created from tables as replication identity 'nothing'

2015-05-01 Thread Bruce Momjian
Mark views created from tables as replication identity 'nothing' pg_dump turns tables into views using a method that was not setting pg_class.relreplident properly. Patch by Marko Tiikkaja Backpatch through 9.4 Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/b2f95c

[COMMITTERS] pgsql: Mark views created from tables as replication identity 'nothing'

2015-05-01 Thread Bruce Momjian
Mark views created from tables as replication identity 'nothing' pg_dump turns tables into views using a method that was not setting pg_class.relreplident properly. Patch by Marko Tiikkaja Backpatch through 9.4 Branch -- REL9_4_STABLE Details --- http://git.postgresql.org/pg/commitdiff

[COMMITTERS] pgsql: Make hstore_plperl's build more like plperl's

2015-05-01 Thread Andrew Dunstan
Make hstore_plperl's build more like plperl's This involves moving perl's CORE library to the end of the include list, and adding other compilation settings that plperl uses. This won't completely fix the breakage currently being seen by gcc builds on Windows, but it will let the build get further

[COMMITTERS] pgsql: Move interpreter shared library detection to configure

2015-05-01 Thread Peter Eisentraut
Move interpreter shared library detection to configure For building PL/Perl, PL/Python, and PL/Tcl, we need a shared library of libperl, libpython, and libtcl, respectively. Previously, this was checked in the makefiles, skipping the PL build with a warning if no shared library was available. No

[COMMITTERS] pgsql: Make hstore_plperl's build even more like plperl's

2015-05-01 Thread Peter Eisentraut
Make hstore_plperl's build even more like plperl's Combine the two places that set CPPFLAGS into one. Also, some settings should be restricted to Windows only. More precisely, -Wno-comment is a GCC-only option, but Windows in a makefile implies GCC at the moment. Also, since -Wno-comment is mor

Re: [COMMITTERS] pgsql: Move interpreter shared library detection to configure

2015-05-01 Thread Michael Paquier
On Sat, May 2, 2015 at 10:39 AM, Peter Eisentraut wrote: > Move interpreter shared library detection to configure > > For building PL/Perl, PL/Python, and PL/Tcl, we need a shared library of > libperl, libpython, and libtcl, respectively. Previously, this was > checked in the makefiles, skipping

[COMMITTERS] pgsql: Fix shared libpython detection on OS X

2015-05-01 Thread Peter Eisentraut
Fix shared libpython detection on OS X Apparently, looking for an appropriately named file doesn't work on some older versions, so put the back the explicit platform detection. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/010aa420b9dd5393490c8793f43949dca269a753

Re: [COMMITTERS] pgsql: Move interpreter shared library detection to configure

2015-05-01 Thread Peter Eisentraut
On 5/1/15 10:22 PM, Michael Paquier wrote: > On Sat, May 2, 2015 at 10:39 AM, Peter Eisentraut wrote: >> Move interpreter shared library detection to configure > This is hurting OSX platforms at least older than 10.6 (I can get > configure working on my 10.8 laptop), and OpenBSD. The OpenBSD cas