Re: Petition: Treat #!... shebangs as comments

Поиск
Список
Период
Сортировка
От Martin Gudmundsson
Тема Re: Petition: Treat #!... shebangs as comments
Дата
Msg-id 79F57742-E7C0-4047-924C-F57CF5014E3D@gmail.com
обсуждение исходный текст
Ответ на Re: Petition: Treat #!... shebangs as comments  (Dennis Jenkins <dennis.jenkins.75@gmail.com>)
Ответы Re: Petition: Treat #!... shebangs as comments  (Andrew Pennebaker <andrew.pennebaker@gmail.com>)
Список pgsql-general

18 jul 2014 kl. 17:31 skrev Dennis Jenkins <dennis.jenkins.75@gmail.com>:

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

+1, Sounds great!
Even though you can accomplish most things in other ways, this seems like the easiest in many scenarios.


В списке pgsql-general по дате отправления:

Предыдущее
От: "Ferrell, Denise CTR NSWCDD, Z11"
Дата:
Сообщение: Re: [ADMIN] Editable Views
Следующее
От: Andrew Pennebaker
Дата:
Сообщение: Re: Petition: Treat #!... shebangs as comments