Thread: \? not working in psql

\? not working in psql

From
Francisco Reyes
Date:
Today I was using \e to edit the buffer, something I don't commonly do.
Somehow that screwed up my help file for psql.

When I do \?
instead of getting help for the slash commands I get

General
General
General
General
General
ull and not nosend;


Any thoughts?
The last line "ull and not nosend;" is part of what I was editing in the
buffer. The rest don't know where it came from.

Re: \? not working in psql

From
Tom Lane
Date:
Francisco Reyes <lists@natserv.com> writes:
> Today I was using \e to edit the buffer, something I don't commonly do.
> Somehow that screwed up my help file for psql.
> When I do \?
> instead of getting help for the slash commands I get
> [junk]
> Any thoughts?

The \? command just prints out a bunch of constant strings.  The only
theory that comes to mind is that you mistakenly overwrote the file
of translated messages --- are you using a translation?

            regards, tom lane

Re: \? not working in psql

From
Francisco Reyes
Date:
On Fri, 9 Apr 2004, Tom Lane wrote:

>
> The \? command just prints out a bunch of constant strings.  The only
> theory that comes to mind is that you mistakenly overwrote the file
> of translated messages --- are you using a translation?

No translation.
Quitting and coming back to psql did not help. However, quitting the xterm
session and starting a new one did the trick. \? is back to normal.

Thanks for the feedback. It was strange.