Petition: Treat #!... shebangs as comments

From: Andrew Pennebaker <andrew(dot)pennebaker(at)gmail(dot)com>
To: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Petition: Treat #!... shebangs as comments
Date: 2014-07-18 15:16:30
Message-ID: CAHXt_SVbT=zL5attA0qSpRbQfPEdn25VJ7nLodnYwE9cX_9qcQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Could we please have the PostgreSQL lexer treat #!... on the first line of
a file as a comment? This would enable .psql scripts to be run with
dot-slash notation preferred by many unix users:

./script.psql

While still allowing the traditional (and Windows compatible) style:

psql -f script.psql

--
Cheers,

Andrew Pennebaker
www.yellosoft.us

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sergey Konoplev 2014-07-18 15:20:33 Re: statement_timeout doesn't work
Previous Message David G Johnston 2014-07-18 05:18:45 Re: Watching Views