1. 16 Mar, 2017 6 commits
  2. 15 Mar, 2017 14 commits
  3. 14 Mar, 2017 17 commits
  4. 13 Mar, 2017 3 commits
    • Tom Lane's avatar
      Fix busted markup. · 0c87cd00
      Tom Lane authored
      Oversight in commit 9ca5c872.  Per buildfarm.
      0c87cd00
    • Alvaro Herrera's avatar
      Silence unused variable compiler warning · a9c074ba
      Alvaro Herrera authored
      Fallout from fcec6caa: mark a variable in
      set_tablefunc_size_estimates as used for asserts only.
      
      Also, the planner_rte_fetch() call is pointless with assertions
      disabled, so enclose it in a USE_ASSERT_CHECKING #ifdef; fix the same
      problem in set_subquery_size_estimates().
      
      First problem noted by David Rowley, whose compiler is noisier than mine
      in this regard.
      a9c074ba
    • Tom Lane's avatar
      Add a "void *" passthrough pointer for psqlscan.l's callback functions. · 895e36bb
      Tom Lane authored
      The immediate motivation for this is to provide clean infrastructure
      for the proposed \if...\endif patch for psql; but it seems like a good
      thing to have even if that patch doesn't get in.  Previously the callback
      functions could only make use of application-global state, which is a
      pretty severe handicap.
      
      For the moment, the pointer is only passed through to the get_variable
      callback function.  I considered also passing it to the write_error
      callback, but for now let's not.  Neither psql nor pgbench has a use
      for that, and in the case of psql we'd have to invent a separate wrapper
      function because we would certainly not want to change the signature of
      psql_error().
      
      Discussion: https://postgr.es/m/10108.1489418309@sss.pgh.pa.us
      895e36bb