Fix comment; checkpointer, not bgwriter, performs checkpoints since 9.2.

Amit Langote
Disable RandomizedBaseAddress on MSVC builds

The ASLR in Windows 8/Windows 2012 can break PostgreSQL's shared memory. It
doesn't fail every time (which is explained by the Random part in ASLR), but
can fail with errors abut failing to reserve shared memory region.

MauMau, reviewed by Craig Ringer
CREATE TABLE AS return OID
ExecRefreshMatView: return OID of the affected matview

For future consumption by event triggers
event_trigger.c: Fix typo in comment
jsonfuncs.c: fix a couple of typos
json.c: fix typo
gram.y: more psprintf()
Add support for JSON command deparsing
use PG_FUNCNAME_MACRO to avoid stale name
builtins.h: split to new include/utils/ruleutils.h

This contains all prototypes for things in ruleutils.c that are not
exposed to the SQL level.
move pg_get_trigger_whenclause to ruleutils.h
support CREATE TYPE AS RANGE
Merge branch 'deparse' into bdr-deparse
Initialize bgw_notify_pid to 0

Failure to do this resulted in a bgworker that would not run in some
cases.
Initial DDL replication

This simply accumulates DDL commands in a table, and has the bdr_apply
background worker execute it.
better support for temporary objects

Instead of returning a session-specific schema name, return pg_temp
instead.  That way a command can be replayed elsewhere without being
dependent on the exact name of the replayer session's temp namespace.
report schema in pg_event_trigger_get_creation_commands

If the object is temporary, report "pg_temp".  This eases identification
of temporary objects.
Merge branch 'deparse' into bdr-deparse
ignore temp objects when queueing