Re: shebang for tcl postgresql modules - Mailing list pgsql-hackers

From Tom Lane
Subject Re: shebang for tcl postgresql modules
Date
Msg-id 10747.1426168649@sss.pgh.pa.us
Whole thread Raw
In response to shebang for tcl postgresql modules  (Jozef Mlich <jmlich@redhat.com>)
List pgsql-hackers
Jozef Mlich <jmlich@redhat.com> writes:
> I would like to ask you if is there any reason to pretend tcl scripts
> are shell scripts?

That is the time-honored standard formatting for tcl scripts, see for
example page 2 here:
http://www.tcl.tk/doc/styleGuide.pdf

While we might get away with ignoring that convention for this specific
use-case, it carries a risk of breaking things, eg for people who have
multiple Tcl installations.  I'm disinclined to change it, especially
not if the reason is "rpmdiff is too dumb to recognize tcl scripts".
Somebody's gonna need to fix that anyway.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: logical column ordering
Next
From: Tom Lane
Date:
Subject: Re: OOM-killer issue when updating a inheritance table which has large number of child tables