1. 12 Nov, 2020 11 commits
  2. 11 Nov, 2020 9 commits
  3. 10 Nov, 2020 5 commits
  4. 09 Nov, 2020 8 commits
  5. 08 Nov, 2020 4 commits
    • Tom Lane's avatar
      In INSERT/UPDATE, use the table's real tuple descriptor as target. · 8b39345a
      Tom Lane authored
      This back-patches commit 20d3fe90 into the v12 and v13 branches.
      At the time I thought that commit was not fixing any observable
      bug, but Bertrand Drouvot showed otherwise: adding a dropped column
      to the previously-considered scenario crashes v12 and v13, unless the
      dropped column happens to be an integer.  That is, of course, because
      the tupdesc we derive from the plan output tlist fails to describe
      the dropped column accurately, so that we'll do the wrong thing with
      a tuple in which that column isn't NULL.
      
      There is no bug in pre-v12 branches because they already did use
      the table's real tuple descriptor for any trigger-returned tuple.
      It seems that this set of bugs can be blamed on the changes that
      removed es_trig_tuple_slot, though I've not attempted to pin that
      down precisely.
      
      Although there's no code change needed in HEAD, update the test case
      to include a dropped column there too.
      
      Discussion: https://postgr.es/m/db5d97c8-f48a-51e2-7b08-b73d5434d425@amazon.com
      Discussion: https://postgr.es/m/16644-5da7ef98a7ac4545@postgresql.org
      8b39345a
    • Thomas Munro's avatar
      Fix assertion in collation version lookup. · d50e3b1f
      Thomas Munro authored
      Commit 257836a7 included an assertion that a version lookup routine is
      not trying to look up "C" or "POSIX", but that case is reachable with
      the user-facing SQL function pg_collation_actual_version().  Remove the
      assertion.
      d50e3b1f
    • Peter Eisentraut's avatar
      Fix test for error message change · 8cff66d3
      Peter Eisentraut authored
      fix for 6be725e7
      8cff66d3
    • Peter Geoghegan's avatar
      Improve nbtree README's LP_DEAD section. · 5a2f154a
      Peter Geoghegan authored
      The description of how LP_DEAD bit setting by index scans works
      following commit 2ed5b87f was rather unclear.  Clean that up a bit.
      
      Also refer to LP_DEAD bit setting within _bt_check_unique() at the start
      of the same section.  This mechanism may actually be more important than
      the generic kill_prior_tuple mechanism that the section focuses on, so
      it at least deserves to be mentioned in passing.
      5a2f154a
  6. 07 Nov, 2020 3 commits