[COMMITTERS] pgsql: Make the streaming replication protocol messages architecture-in

2012-11-07 Thread Heikki Linnakangas
Make the streaming replication protocol messages architecture-independent. We used to send structs wrapped in CopyData messages, which works as long as the client and server agree on things like endianess, timestamp format and alignment. That's good enough for running a standby server, which has t

[COMMITTERS] pgsql: In pg_upgrade docs, mention using base backup as part of rsync f

2012-11-07 Thread Bruce Momjian
In pg_upgrade docs, mention using base backup as part of rsync for logical replication upgrades. Backpatch to 9.2. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/c90dcd6d2c76402ce307b0d44958c6ca274f2c39 Modified Files -- doc/src/sgml/pgupgrade.sgml |

[COMMITTERS] pgsql: In pg_upgrade docs, mention using base backup as part of rsync f

2012-11-07 Thread Bruce Momjian
In pg_upgrade docs, mention using base backup as part of rsync for logical replication upgrades. Backpatch to 9.2. Branch -- REL9_2_STABLE Details --- http://git.postgresql.org/pg/commitdiff/663c68f0e94ec6d4d4f75edcbd3d5c3dec4478fd Modified Files -- doc/src/sgml/pgupgrade.sg

[COMMITTERS] pgsql: Don't try to use a unopened relation

2012-11-07 Thread Alvaro Herrera
Don't try to use a unopened relation Commit 4c9d0901 mistakenly introduced a call to TransferPredicateLocksToHeapRelation() on an index relation that had been closed a few lines above. Moving up an index_open() call that's below is enough to fix the problem. Discovered by me while testing an unr

[COMMITTERS] pgsql: Don't try to use a unopened relation

2012-11-07 Thread Alvaro Herrera
Don't try to use a unopened relation Commit 4c9d0901 mistakenly introduced a call to TransferPredicateLocksToHeapRelation() on an index relation that had been closed a few lines above. Moving up an index_open() call that's below is enough to fix the problem. Discovered by me while testing an unr

[COMMITTERS] pgsql: Add URLs to document why DLLIMPORT is needed on Windows.

2012-11-07 Thread Bruce Momjian
Add URLs to document why DLLIMPORT is needed on Windows. Per email from Craig Ringer Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/aa69670e4296321b51251d34e9bd2c4bc17aab75 Modified Files -- src/include/port/win32.h |8 +++- 1 files changed, 7 in

[COMMITTERS] pgsql: Fix missing inclusions.

2012-11-07 Thread Tom Lane
Fix missing inclusions. Some platforms require including and/or to use htonl() and ntohl(). Per build failure locally. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/9e45e03886c75dd049bcc1b063e0bf34e46a3a62 Modified Files -- src/bin/pg_basebackup/rec