pg_indent instructions - Mailing list pgsql-hackers

From Andrew Dunstan
Subject pg_indent instructions
Date
Msg-id 92469f50-35cf-4466-5374-696a04df8051@dunslane.net
Whole thread Raw
Responses Re: pg_indent instructions
List pgsql-hackers
The README for pg_indent says:


    ./configure     # "make" will not work in an unconfigured tree
    cd src/include/catalog
    make reformat-dat-files
    cd ../../..


This looks like a case of using a sledgehammer to crack a nut.

I did this, which amounts to the same thing and is faster:

    cd src/include/catalog
    perl ./reformat_dat_file.pl --output . ./pg_*.dat
    cd ../../..


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com




pgsql-hackers by date:

Previous
From: Zhihong Yu
Date:
Subject: Re: Rename of triggers for partitioned tables
Next
From: Tom Lane
Date:
Subject: Re: pg_indent instructions