1. 06 Apr, 2017 22 commits
  2. 05 Apr, 2017 12 commits
  3. 04 Apr, 2017 6 commits
    • Kevin Grittner's avatar
      Follow-on cleanup for the transition table patch. · 5ebeb579
      Kevin Grittner authored
      Commit 59702716 added transition table support to PL/pgsql so that
      SQL queries in trigger functions could access those transient
      tables.  In order to provide the same level of support for PL/perl,
      PL/python and PL/tcl, refactor the relevant code into a new
      function SPI_register_trigger_data.  Call the new function in the
      trigger handler of all four PLs, and document it as a public SPI
      function so that authors of out-of-tree PLs can do the same.
      
      Also get rid of a second QueryEnvironment object that was
      maintained by PL/pgsql.  That was previously used to deal with
      cursors, but the same approach wasn't appropriate for PLs that are
      less tangled up with core code.  Instead, have SPI_cursor_open
      install the connection's current QueryEnvironment, as already
      happens for SPI_execute_plan.
      
      While in the docs, remove the note that transition tables were only
      supported in C and PL/pgSQL triggers, and correct some ommissions.
      
      Thomas Munro with some work by Kevin Grittner (mostly docs)
      5ebeb579
    • Simon Riggs's avatar
      Make min_wal_size/max_wal_size use MB internally · 9a321502
      Simon Riggs authored
      Previously they were defined using multiples of XLogSegSize.
      Remove GUC_UNIT_XSEGS. Introduce GUC_UNIT_MB
      
      Extracted from patch series on XLogSegSize infrastructure.
      
      Beena Emerson
      9a321502
    • Simon Riggs's avatar
      Fix uninitialized variables in twophase.c · cd740c0d
      Simon Riggs authored
      cd740c0d
    • Andres Freund's avatar
      Force synchronous commit in new-ish test_decoding test. · bae9b801
      Andres Freund authored
      This was missed in a924c327 ff.
      bae9b801
    • Andres Freund's avatar
      Fix two valgrind issues in slab allocator. · 490e9a98
      Andres Freund authored
      During allocation VALGRIND_MAKE_MEM_DEFINED was called with a pointer
      as size. That kind of works, but makes valgrind exceedingly slow for
      workloads involving the slab allocator.
      
      Secondly there was an access to memory marked as unreachable within
      SlabCheck(). Fix that too.
      
      Author: Tomas Vondra
      Discussion: https://postgr.es/m/a6543b6d-6015-99b1-63ef-3ed55a76a730@2ndquadrant.com
      490e9a98
    • Andrew Dunstan's avatar
      Clarify documentation of to_tsvector(json(b)) · e75a7865
      Andrew Dunstan authored
      Per gripe from Sven R. Kunze
      e75a7865