Thread

Commits

  1. Exclude files generated by generate-wait_event_types.pl from pgindent

  1. Exclude generated wait_event files from pgindent

    Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com> — 2023-12-31T01:54:02Z

    Hi,
    
    I think we need to add pgstat_wait_event.c, wait_event_types.h and
    wait_event_funcs_data.c to pgindent/exclude_file_patterns, otherwise,
    pgindent on the entire source tree after the source code compilation
    shows up these generated files. I've attached a patch to fix it.
    
    Thoughts?
    
    --
    Bharath Rupireddy
    PostgreSQL Contributors Team
    RDS Open Source Databases
    Amazon Web Services: https://aws.amazon.com
    
  2. Re: Exclude generated wait_event files from pgindent

    Michael Paquier <michael@paquier.xyz> — 2023-12-31T03:03:41Z

    On Sun, Dec 31, 2023 at 07:24:02AM +0530, Bharath Rupireddy wrote:
    > I think we need to add pgstat_wait_event.c, wait_event_types.h and
    > wait_event_funcs_data.c to pgindent/exclude_file_patterns, otherwise,
    > pgindent on the entire source tree after the source code compilation
    > shows up these generated files. I've attached a patch to fix it.
    > 
    > Thoughts?
    
    Indeed, will fix.
    --
    Michael