Hello Vik,

Isn't there examples in the documentation which use the default prompts?

If so, should they be updated accordingly?

Good catch!
I thought about the documentation but not the examples therein.

Updated patch attached.

Ok.

Only one transaction prompt example in the whole documentation:-(
No tests is troubled by the change:-(
Sigh…

Patch applies and compiles cleanly, global and psql make check ok.

Doc build ok.

Works for me.

I'd be in favor of adding a non trivial session example in psql documentation at the end of the prompt stuff section, something like:

BEGIN;
CREATE TABLE
  Word(data TEXT PRIMARY KEY);
COPY Word(data) FROM STDIN;
hello
\.
SELECT 2+;
ROLLBACK;

but this is not necessary for this patch.

--
Fabien.

Reply via email to