Re: Suggestion for psql: --file - - Mailing list pgsql-sql

From Peter Eisentraut
Subject Re: Suggestion for psql: --file -
Date
Msg-id Pine.LNX.4.30.0102021615130.923-100000@peter.localdomain
Whole thread Raw
In response to Suggestion for psql: --file -  ("Albert REINER" <areiner@tph.tuwien.ac.at>)
Responses Re: Suggestion for psql: --file -  ("Albert REINER" <areiner@tph.tuwien.ac.at>)
List pgsql-sql
Albert REINER writes:

> wouldn't it be a good idea (and if it is, I am not sure what list to
> post it to) to have psql's option -f / --file take "-" for stdin, as
> many programs do?

Seems reasonable.

> P.S: BTW, the man page (7.0.2) of psql is not very clear: it took me
> some experimentation to find out that you have to do "\set VARIABLE"
> interactively or give "--set VARIABLE=" to set a variable that does
> not take a value.

Suggested new wording?

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-sql by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: binary operators
Next
From: Peter Eisentraut
Date:
Subject: Re: 7.0.2-docs: textpos -> strpos