Re: pgsql: Use $INDENT rather than indent throughout the pgindent code - Mailing list pgsql-committers

From Andrew Dunstan
Subject Re: pgsql: Use $INDENT rather than indent throughout the pgindent code
Date
Msg-id 4D5E95AF.5060704@dunslane.net
Whole thread Raw
In response to Re: pgsql: Use $INDENT rather than indent throughout the pgindent code  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-committers

On 02/18/2011 10:44 AM, Alvaro Herrera wrote:
>
>> What would actually be useful here is a
>> convenient way to override the script's default value of INDENT, but
>> this coding doesn't offer that.  I'd suggest something more like
>>
>> if [ -z "$INDENT" ]; then
>>    INDENT=indent
>> fi
> ... this is certainly better.  I'll change it to this.
>

maybe PGINDENT instead of INDENT?

cheers

andrew

pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Use $INDENT instead of `which` to find the indent binary
Next
From: Tom Lane
Date:
Subject: pgsql: One more hack to make contrib upgrades from 9.0 match fresh 9.1