Re: sql scripts - Mailing list pgsql-general

From David Link
Subject Re: sql scripts
Date
Msg-id 3C224086.F6A5BD20@soundscan.com
Whole thread Raw
In response to sql scripts  (Joseph Shraibman <jks@selectacast.net>)
Responses Re: sql scripts
List pgsql-general
Joseph Shraibman wrote:
>
> FYI anyone who wants to have a psql shell script:
>
> #!/bin/bash
> tail +4 $0 | /usr/local/pgsql/bin/psql -U postgres -d playpen
> exit
>
> select version();

Very cool.  And very clever.  Thanks.

pgsql-general by date:

Previous
From: "Dave Cramer"
Date:
Subject: Re: [JDBC] JDBC Driver Munging My Text?
Next
From: Paul Wehr
Date:
Subject: Re: How Many Years have Passed?