\? not working in psql

Started by Francisco Reyesabout 22 years ago3 messagesgeneral
Jump to latest
#1Francisco Reyes
lists@natserv.com

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.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Francisco Reyes (#1)
Re: \? not working in psql

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

#3Francisco Reyes
lists@natserv.com
In reply to: Tom Lane (#2)
Re: \? not working in psql

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.