Re: MySQL-ism help patch for psql

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: David Christensen <david(at)endpoint(dot)com>
Cc: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>, Jeff Davis <pgsql(at)j-davis(dot)com>, pgsql-hackers(at)postgresql(dot)org, Magnus Hagander <magnus(at)hagander(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: MySQL-ism help patch for psql
Date: 2010-01-19 22:14:31
Message-ID: EB004BBE-99FE-48EC-8527-A4FF273B683D@kineticode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Jan 19, 2010, at 1:39 PM, Tom Lane wrote:

> I thought Magnus had a really good point: covering these four cases will
> probably be enough to teach newbies to look at psql's backslash
> commands. And once they absorb that, we're over a big hump.

+1

On Jan 19, 2010, at 1:57 PM, Devrim GÜNDÜZ wrote:

> 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?

Why would they want more? It's not MySQL, and they know that. If we give them some very minor helpful hints for the most common things they try to do, it would be a huge benefit to them. I know I've badly wanted the opposite when I've had to use MySQL, but I don't expect MySQL to implement \c for me.

> 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 think it'd be helpful for other databases, too. Oracle comes to mind: What commands are finger-trained in Oracle DBAs?

Best,

David

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-01-19 22:23:09 Re: MySQL-ism help patch for psql
Previous Message Mark Kirkwood 2010-01-19 22:13:36 Streaming Replication and archiving