Re: Petition: Treat #!... shebangs as comments - Mailing list pgsql-general

From Dennis Jenkins
Subject Re: Petition: Treat #!... shebangs as comments
Date
Msg-id CAAEzAp9pTObL3gDmdWORkXz4jn+1HOMYqNOE5cadRbb4SZhjvg@mail.gmail.com
Whole thread Raw
In response to Petition: Treat #!... shebangs as comments  (Andrew Pennebaker <andrew.pennebaker@gmail.com>)
Responses Re: Petition: Treat #!... shebangs as comments  (Martin Gudmundsson <martingudmundsson@gmail.com>)
List pgsql-general
On Fri, Jul 18, 2014 at 10:16 AM, Andrew Pennebaker <andrew.pennebaker@gmail.com> wrote:
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


+1

pgsql-general by date:

Previous
From: Sergey Konoplev
Date:
Subject: Re: statement_timeout doesn't work
Next
From: Adrian Klaver
Date:
Subject: Re: Petition: Treat #!... shebangs as comments