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

parsexlog.c

Blame
    • Heikki Linnakangas's avatar
      35fc44b5
      Print WAL position correctly in pg_rewind error message. · 35fc44b5
      Heikki Linnakangas authored
      This has been wrong ever since pg_rewind was added. The if-branch just
      above this, where we print the same error with an extra message supplied
      by XLogReadRecord() got this right, but the variable name was wrong in the
      else-branch. As a consequence, the error printed the WAL position as
      0/0 if there was an error reading a WAL file.
      
      Backpatch to 9.5, where pg_rewind was added.
      35fc44b5
      History
      Print WAL position correctly in pg_rewind error message.
      Heikki Linnakangas authored
      This has been wrong ever since pg_rewind was added. The if-branch just
      above this, where we print the same error with an extra message supplied
      by XLogReadRecord() got this right, but the variable name was wrong in the
      else-branch. As a consequence, the error printed the WAL position as
      0/0 if there was an error reading a WAL file.
      
      Backpatch to 9.5, where pg_rewind was added.
    parsexlog.c 10.49 KiB