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

pageinspect

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Stephen Frost authored
    The contrib extensions pageinspect, pg_visibility and pgstattuple only
    work against regular relations which have storage.  They don't work
    against foreign tables, partitioned (parent) tables, views, et al.
    
    Add checks to the user-callable functions to return a useful error
    message to the user if they mistakenly pass an invalid relation to a
    function which doesn't accept that kind of relation.
    
    In passing, improve some of the existing checks to use ereport() instead
    of elog(), add a function to consolidate common checks where
    appropriate, and add some regression tests.
    
    Author: Amit Langote, with various changes by me
    Reviewed by: Michael Paquier and Corey Huinker
    Discussion: https://postgr.es/m/ab91fd9d-4751-ee77-c87b-4dd704c1e59c@lab.ntt.co.jp
    c08d82f3
    History
    Name Last commit Last update
    ..