Re: psql: Add \dL to show languages
Josh Kupershmidt <schmiddy@gmail.com>
From: Josh Kupershmidt <schmiddy@gmail.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Andreas Karlsson <andreas@proxel.se>, pgsql-hackers <pgsql-hackers@postgresql.org>, Fernando Ike <fike@midstorm.org>
Date: 2011-01-20T04:19:42Z
Lists: pgsql-hackers
Attachments
- psql_languages.v9.patch (text/x-patch) patch v9
On Wed, Jan 19, 2011 at 9:09 PM, Robert Haas <robertmhaas@gmail.com> wrote: > This patch doesn't seem terribly consistent to me - we show the name > of the call handler and the name of the validator, but for the inline > handler we just indicate whether there is one or not. That seems like > something that we should make consistent, and my vote is to show the > name in all cases. OK, changed. I've shuffled the columns slightly so that handlers and Validator columns are next to each other. > Also, I'm wondering whether the System Language column be renamed to > Internal Language, for consistency with the terminology used here: > > http://www.postgresql.org/docs/current/static/catalog-pg-language.html Fixed, updated patch attached. Though, reading the description of lanispl on that page, I wonder if "user-defined language" correctly describes plpgsql these days, which comes installed by default. Josh