Re: MySQL-ism help patch for psql

From: Gabriele Bartolini <gabriele(dot)bartolini(at)2ndquadrant(dot)it>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: Dimitri Fontaine <dfontaine(at)hi-media(dot)com>, David Christensen <david(at)endpoint(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Magnus Hagander <magnus(at)hagander(dot)net>, Jeff Davis <pgsql(at)j-davis(dot)com>, Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>, Bruce Momjian <bruce(at)momjian(dot)us>, "<pgsql-hackers(at)postgresql(dot)org>" <pgsql-hackers(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: MySQL-ism help patch for psql
Date: 2010-01-20 15:38:04
Message-ID: D9FFED7B-FE70-4D95-BDC5-E0465D2D07EC@2ndquadrant.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I would personally emulate \d and take the chance for showing a funny
warning, something like: "hey, it's not MySql!" or similar. I am sure
we will Finder something appropriate. :)

Inviato da iPhone

Il giorno 20/gen/2010, alle ore 16.30, "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov
> ha scritto:

> Dimitri Fontaine <dfontaine(at)hi-media(dot)com> wrote:
>
>> I'll give my vote to Peter's idea that show tables; should better
>> act as if you typed \d.
>
> I guess we don't need a "tables" GUC. Show all wouldn't include it?
> Would we require a semicolon? Do we support \d-style globs?
>
> Still seems kinda messy. +1 for help to show the PostgreSQL command
> as a guess for what they want to do. -1 for MySQL emulation.
>
> -Kevin
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-01-20 15:42:11 Re: lock_timeout GUC patch
Previous Message Kevin Grittner 2010-01-20 15:30:03 Re: MySQL-ism help patch for psql