Re: Add %x to PROMPT1 and PROMPT2
От | Fabien COELHO |
---|---|
Тема | Re: Add %x to PROMPT1 and PROMPT2 |
Дата | |
Msg-id | alpine.DEB.2.21.2001271250190.24374@pseudo обсуждение исходный текст |
Ответ на | Re: Add %x to PROMPT1 and PROMPT2 (Vik Fearing <vik.fearing@2ndquadrant.com>) |
Ответы |
Re: Add %x to PROMPT1 and PROMPT2
|
Список | pgsql-hackers |
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.
В списке pgsql-hackers по дате отправления: