Re: MySQL-ism help patch for psql

David Christensen <david@endpoint.com>

From: David Christensen <david@endpoint.com>
To: Devrim GÜNDÜZ <devrim@gunduz.org>
Cc: Jeff Davis <pgsql@j-davis.com>, pgsql-hackers@postgresql.org, Magnus Hagander <magnus@hagander.net>
Date: 2010-01-19T22:04:33Z
Lists: 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