Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

gindatapage.c

Blame
    • Alexander Korotkov's avatar
      9c6a676c
      Fix handling of empty uncompressed posting list pages in GIN · 9c6a676c
      Alexander Korotkov authored
      PostgreSQL 9.4 introduces posting list compression in GIN.  This feature
      supports online upgrade, so that after pg_upgrade uncompressed posting
      lists are compressed on-the-fly.  Underlying code appears to always
      expect at least one item on uncompressed posting list page.  But there
      could be completely empty pages, because VACUUM never deletes leftmost
      and rightmost pages from posting trees.  This commit fixes that.
      
      Reported-by: Sivasubramanian Ramasubramanian
      Discussion: https://postgr.es/m/1531867212836.63354%40amazon.com
      Author: Sivasubramanian Ramasubramanian, Alexander Korotkov
      Backpatch-through: 9.4
      9c6a676c
      History
      Fix handling of empty uncompressed posting list pages in GIN
      Alexander Korotkov authored
      PostgreSQL 9.4 introduces posting list compression in GIN.  This feature
      supports online upgrade, so that after pg_upgrade uncompressed posting
      lists are compressed on-the-fly.  Underlying code appears to always
      expect at least one item on uncompressed posting list page.  But there
      could be completely empty pages, because VACUUM never deletes leftmost
      and rightmost pages from posting trees.  This commit fixes that.
      
      Reported-by: Sivasubramanian Ramasubramanian
      Discussion: https://postgr.es/m/1531867212836.63354%40amazon.com
      Author: Sivasubramanian Ramasubramanian, Alexander Korotkov
      Backpatch-through: 9.4