On Fri, Jul 18, 2014 at 10:51 AM, Francisco Olarte <folarte@xxxxxxxxxxxxxx> wrote: > Hi: > > On Fri, Jul 18, 2014 at 5:16 PM, Andrew Pennebaker > <andrew.pennebaker@xxxxxxxxx> 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 > > Dot-slash is not a notation, it's a requisite if you do ( correctly ) > not have . in your $PATH. > > Anyway, this is a little bit complex, as psql many times needs arguments. true, but pretty much everything you might need can be handled via the environment and the script itself. there are plenty of good reasons do this and I can't think of any not to. merlin