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

gistvalidate.c

Blame
    • Tom Lane's avatar
      be44ed27
      Improve index AMs' opclass validation procedures. · be44ed27
      Tom Lane authored
      The amvalidate functions added in commit 65c5fcd3 were on the
      crude side.  Improve them in a few ways:
      
      * Perform signature checking for operators and support functions.
      
      * Apply more thorough checks for missing operators and functions,
      where possible.
      
      * Instead of reporting problems as ERRORs, report most problems as INFO
      messages and make the amvalidate function return FALSE.  This allows
      more than one problem to be discovered per run.
      
      * Report object names rather than OIDs, and work a bit harder on making
      the messages understandable.
      
      Also, remove a few more opr_sanity regression test queries that are
      now superseded by the amvalidate checks.
      be44ed27
      History
      Improve index AMs' opclass validation procedures.
      Tom Lane authored
      The amvalidate functions added in commit 65c5fcd3 were on the
      crude side.  Improve them in a few ways:
      
      * Perform signature checking for operators and support functions.
      
      * Apply more thorough checks for missing operators and functions,
      where possible.
      
      * Instead of reporting problems as ERRORs, report most problems as INFO
      messages and make the amvalidate function return FALSE.  This allows
      more than one problem to be discovered per run.
      
      * Report object names rather than OIDs, and work a bit harder on making
      the messages understandable.
      
      Also, remove a few more opr_sanity regression test queries that are
      now superseded by the amvalidate checks.