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