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

From David Christensen
Subject Re: MySQL-ism help patch for psql
Date
Msg-id 993CF61C-66FC-416A-8EB2-B834B363D449@endpoint.com
Whole thread Raw
In response to Re: MySQL-ism help patch for psql  (Devrim GÜNDÜZ <devrim@gunduz.org>)
List pgsql-hackers
On Jan 19, 2010, at 3:57 PM, Devrim GÜNDÜZ wrote:

> On Tue, 2010-01-19 at 11:25 -0800, Jeff Davis wrote:
>
>> I like that idea. There may be a lot of MySQL people that want to use
>> the next postgresql release, and this would make it easier.
>
> I disagree. If they want to use PostgreSQL, they should learn our
> syntax. How can you make sure that this will be enough for them?
> What if
> they want more?

This is intended to be a gentle nudge in the right direction, not a
replacement for their regular syntax.  This does not perform the
command in question, just points them to the right one, along with a
general reminder that all kinds of good help is available via \?.

> I have administrated lots of MySQL server until I started working for
> Command Prompt (I still take a look at one once a month, for a
> government related thing).
>
> +#define MYSQL_HELP_CHECK(o) \
>
> What if some other people will come up with the idea of adding similar
> functionality for their favorite database? The only exception will be
> Informix IMHO, because of historical reasons.

I'm not sure what you're saying here WRT Informix; if there is
substantial desire and a large enough group that would find such
newbie hints useful, I'd say we could generalize this more, but I
don't think this patch obligates one to any such future proposals.

> So, -1 from me for adding such a support for MySQL's cli commands.
> --
> Devrim GÜNDÜZ, RHCE
> Command Prompt - http://www.CommandPrompt.com
> devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
> http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

Regards,

David
--
David Christensen
End Point Corporation
david@endpoint.com






pgsql-hackers by date:

Previous
From: David Christensen
Date:
Subject: Re: MySQL-ism help patch for psql
Next
From: Mark Kirkwood
Date:
Subject: Streaming Replication and archiving