pg_indent instructions

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: pg_indent instructions
Date: 2021-06-28 19:23:49
Message-ID: 92469f50-35cf-4466-5374-696a04df8051@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2021-06-28 19:29:27 Re: pg_indent instructions
Previous Message Zhihong Yu 2021-06-28 19:22:17 Re: Rename of triggers for partitioned tables