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

From Andrew Pennebaker
Subject Petition: Treat #!... shebangs as comments
Date
Msg-id CAHXt_SVbT=zL5attA0qSpRbQfPEdn25VJ7nLodnYwE9cX_9qcQ@mail.gmail.com
Whole thread Raw
Responses Re: Petition: Treat #!... shebangs as comments
Re: Petition: Treat #!... shebangs as comments
Re: Petition: Treat #!... shebangs as comments
List 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

pgsql-general by date:

Previous
From: David G Johnston
Date:
Subject: Re: Watching Views
Next
From: Sergey Konoplev
Date:
Subject: Re: statement_timeout doesn't work