• Stephen Frost's avatar
    Add pg_file_settings view and function · a97e0c33
    Stephen Frost authored
    The function and view added here provide a way to look at all settings
    in postgresql.conf, any #include'd files, and postgresql.auto.conf
    (which is what backs the ALTER SYSTEM command).
    
    The information returned includes the configuration file name, line
    number in that file, sequence number indicating when the parameter is
    loaded (useful to see if it is later masked by another definition of the
    same parameter), parameter name, and what it is set to at that point.
    This information is updated on reload of the server.
    
    This is unfiltered, privileged, information and therefore access is
    restricted to superusers through the GRANT system.
    
    Author: Sawada Masahiko, various improvements by me.
    Reviewers: David Steele
    a97e0c33
builtins.h 51.8 KB