Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



+1

Skickat från min iPhone

> 18 jul 2014 kl. 17:58 skrev Adrian Klaver <adrian.klaver@xxxxxxxxxxx>:
> 
>> On 07/18/2014 08:52 AM, Karsten Hilbert wrote:
>> On Fri, Jul 18, 2014 at 08:32:53AM -0700, Adrian Klaver wrote:
> 
>> 
>> I think the OP is talking about executable scripts so both of
>> 
>>    $> psql -f the-file.sql
>> 
>> and
>> 
>>    $> ./the-file.sql
>> 
>>    (where the-file.sql starts with "#!/usr/bin/env psql")
>> 
>> would work given that the-file.sql has got execute permission.
> 
> Yea, it finally dawned on me what was being asked, so ignore my previous post.
> 
>> 
>> Karsten
> 
> 
> -- 
> Adrian Klaver
> adrian.klaver@xxxxxxxxxxx
> 
> 
> -- 
> Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux