Vik Fearing wrote: > I haven't applied the patch, but what happens if you combine these? > From your examples, I would imagine something like this: > > test=# select ' > test'# quit > Use \q to quit or press control-C to clear the input buffer. > test'# \q > test'# > > Surely that's not helpful.
But there's a simple solution to that: make it two messages, one when inside quotes ("Use Control-C to clear the input buffer, then \q to quit") and one outside (current wording). Wasn't this already proposed elsewhere in the thread? -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services