Re: [HACKERS] [PATCHES] Friendly help for psql

2008-01-28 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > Alvaro Herrera wrote: >> To avoid the usage of unadorned "help" (which I don't think is going to >> ever cause conflicts with a SQL command but perhaps it's better to be >> prepared), one idea would be to respond with "please execute \help >> instead", an

Re: [HACKERS] [PATCHES] Friendly help for psql

2008-01-28 Thread Greg Sabino Mullane
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 > Uh, imagine: > > test=> SELECT * from pg_class > test-> help > > Technically 'help' is now an alias for 'pg_class'. Are you suggesting > supporting 'help' in this usage? People were saying they forget > semicolons, so this 'help'

Re: [HACKERS] [PATCHES] Friendly help for psql

2008-01-28 Thread Bruce Momjian
Alvaro Herrera wrote: > To avoid the usage of unadorned "help" (which I don't think is going to > ever cause conflicts with a SQL command but perhaps it's better to be > prepared), one idea would be to respond with "please execute \help > instead", and then \help would emit the verbose output. Per