Re: MySQL-ism help patch for psql - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: MySQL-ism help patch for psql
Date
Msg-id 201001251712.o0PHCVG24620@momjian.us
Whole thread Raw
In response to Re: MySQL-ism help patch for psql  ("Ross J. Reedstrom" <reedstrm@rice.edu>)
List pgsql-hackers
Ross J. Reedstrom wrote:
> On Mon, Jan 25, 2010 at 06:06:53PM +0200, Alastair Bell Turner wrote:
> <..>
> > without having to add a switch to their command lines. It's not going
> > to have anything to say to experienced psql users anyway so it would
> > probably not bug anyone enough to turn it off.
> 
> I would so use this feature going the other way: fire up comfortable
> psql and see what mysql command I need to type ... Having it in the
> interface (behind \help [mysql|oracle|firebird|mssql|..] seems reasonable
> to me, given how much info we already have in \help. I find the basic
> BNF help for SQL syntax still useful reminder, and know to go to the
> actual docs when there's not enough there. So a quick mapping of
> most-needed commands, and a pointer to the docs for the full
> ramifications and subtle differences seems to fit the existing
> documentation module.

It would be interesting to implement \help mysql, and then have commands
like SHOW TABLE trigger a message suggesting they do \help mysql.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Greg Smith
Date:
Subject: Re: MySQL-ism help patch for psql
Next
From: "Kevin Grittner"
Date:
Subject: Re: commit fests