Re: \prompt for psql - Mailing list pgsql-patches

From Tom Lane
Subject Re: \prompt for psql
Date
Msg-id 19638.1171730540@sss.pgh.pa.us
Whole thread Raw
In response to Re: \prompt for psql  (Bruce Momjian <bruce@momjian.us>)
Responses Re: \prompt for psql  ("Chad Wagner" <chad.wagner@gmail.com>)
List pgsql-patches
Bruce Momjian <bruce@momjian.us> writes:
> stdin makes it impossible to read a script from stdin and still prompt
> the user, but I think that is of limited usefulness.

You can always get around that by reading the script with -f instead.
On balance I can see a lot more uses for read-from-stdin than the other;
however, we do need to define what happens if the command appears when
commands are coming from stdin.

            regards, tom lane

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: patch adding new regexp functions
Next
From: "Chad Wagner"
Date:
Subject: Re: \prompt for psql