Steven Klassen <[EMAIL PROTECTED]> writes: > * Mike Benoit <[EMAIL PROTECTED]> [2004-10-07 11:47:50 -0700]: >> I assume I'm not the first person to run in to this, however >> searching google didn't seem to come up with anything useful.
> AFAICT, the first query is just constructed poorly, while the second > seems to recurse on itself. The order in the sub-selects doesn't seen > necessary either. Agreed, but I think that's irrelevant to his point: psql probably should abandon whatever is left in its input buffer after getting an error from the backend, and almost certainly should do so after loss of connection. In the noninteractive case I believe it will quit executing the script file, which is good, but in the interactive case it seems like a mistake not to flush the query buffer. Peter, do you know if this behavior was intentional, or just an implementation artifact? regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings