Re: MySQL-ism help patch for psql
Gabriele Bartolini <gabriele.bartolini@2ndquadrant.it>
From: Gabriele Bartolini <gabriele.bartolini@2ndquadrant.it>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: Dimitri Fontaine <dfontaine@hi-media.com>, David Christensen <david@endpoint.com>, Robert Haas <robertmhaas@gmail.com>, Peter Eisentraut <peter_e@gmx.net>, Magnus Hagander <magnus@hagander.net>, Jeff Davis <pgsql@j-davis.com>, Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>, Bruce Momjian <bruce@momjian.us>, "<pgsql-hackers@postgresql.org>" <pgsql-hackers@postgresql.org>, Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-01-20T15:38:04Z
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.Grittner@wicourts.gov > ha scritto: > Dimitri Fontaine <dfontaine@hi-media.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@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-hackers