Re: MySQL-ism help patch for psql

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>
Cc: David Christensen <david(at)endpoint(dot)com>, pgsql-hackers(at)postgresql(dot)org, Magnus Hagander <magnus(at)hagander(dot)net>
Subject: Re: MySQL-ism help patch for psql
Date: 2010-01-19 19:51:13
Message-ID: 1263930673.31869.12.camel@monkey-cat.sm.truviso.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Stefan Kaltenbrunner 2010-01-19 19:52:05 Re: MySQL-ism help patch for psql
Previous Message Jeff Davis 2010-01-19 19:43:50 Re: MySQL-ism help patch for psql