Re: sql scripts

From: David Link <dlink(at)soundscan(dot)com>
To: Joseph Shraibman <jks(at)selectacast(dot)net>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-docs(at)postgresql(dot)org
Subject: Re: sql scripts
Date: 2001-12-20 19:48:22
Message-ID: 3C224086.F6A5BD20@soundscan.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

  • sql scripts at 2001-12-19 21:03:51 from Joseph Shraibman

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Paul Wehr 2001-12-20 20:44:13 Re: How Many Years have Passed?
Previous Message Dave Cramer 2001-12-20 17:52:08 Re: [JDBC] JDBC Driver Munging My Text?