Chad Wagner wrote:
> This adds the ability to "prompt" for internal variable input, below
> are examples:
>
> test=# \prompt x
> Enter value for "x": 3

You can do this already approximately so:

\echo -n 'Enter value: '
\set x `read && echo $REPLY`

Maybe one command is better, though.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to