Re: MySQL-ism help patch for psql

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: "Ross J(dot) Reedstrom" <reedstrm(at)rice(dot)edu>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: MySQL-ism help patch for psql
Date: 2010-01-25 17:12:31
Message-ID: 201001251712.o0PHCVG24620@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message hywel 2010-01-25 17:17:26 Possible changes to pg_restore
Previous Message Greg Smith 2010-01-25 17:08:44 Re: MySQL-ism help patch for psql