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

From Jeff Davis
Subject Re: MySQL-ism help patch for psql
Date
Msg-id 1263930673.31869.12.camel@monkey-cat.sm.truviso.com
Whole thread Raw
In response to Re: MySQL-ism help patch for psql  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-hackers
On Tue, 2010-01-19 at 11:43 -0800, Jeff Davis wrote:
> > I'm not convinced that we should start adding syntax helpers like that 
> > to psql. For now it is an arbitrary subset of MySQL stuff, are we going 
> > to add oracle/db2/mssql/drizzle/mariadb and whatnot later on?
> > Also I can already see people asking "well you already know that this is 
> > that command - why not emulate it fully?".
> 
> Good points. However, it only takes effect in interactive mode, so I
> don't see it as a promise to do much. I'll make an analogy to:
> 

On second thought, if it's not a very restricted set of words, it might
limit what commands we can introduce later. In particular I notice that
it uses "load" which is too similar to postgresql's LOAD.

I think the words would need to be prefixed with something to separate
them from normal commands.

Regards,Jeff Davis



pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: MySQL-ism help patch for psql
Next
From: Stefan Kaltenbrunner
Date:
Subject: Re: MySQL-ism help patch for psql