Re: Table-driven SHOW (was Re: Are we losing momentum?)

From: Rod Taylor <rbt(at)rbt(dot)ca>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Sean Chittenden <sean(at)chittenden(dot)org>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Table-driven SHOW (was Re: Are we losing momentum?)
Date: 2003-06-02 00:02:45
Message-ID: 1054512164.11968.130.camel@jester
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-general pgsql-hackers pgsql-patches

> One thing that is doable with psql's current hard-wired approach, but
> doesn't seem easy to do with this solution, is automatic localization
> of strings such as column headings. Rod had looked at that a little
> in his trial patch to convert psql's \d stuff to table-driven form,
> but AFAIR he didn't have a satisfactory answer.

I've yet to come up with anything better. Best answer I've come up with
is to make the column headings a separate query result set and let the
back-end do the translations.

--
Rod Taylor <rbt(at)rbt(dot)ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

In response to

Browse pgsql-advocacy by date

  From Date Subject
Next Message Justin Clift 2003-06-02 01:42:55 New article at InformIT: "Multiple Database Interaction in PHP 4.1"
Previous Message Sean Chittenden 2003-06-01 21:57:27 Re: [HACKERS] Are we losing momentum?

Browse pgsql-general by date

  From Date Subject
Next Message Mike Withers 2003-06-02 01:18:01 Linked Servers
Previous Message Mark Kirkwood 2003-06-01 23:51:11 Re: qsort (was Re: Solaris)

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2003-06-02 02:11:53 pg_database encoding again
Previous Message John Gray 2003-06-01 22:36:07 Re: XML and postgres

Browse pgsql-patches by date

  From Date Subject
Next Message Alvaro Herrera 2003-06-02 00:03:15 Re: PGSQL transla
Previous Message Kurt Roeckx 2003-06-01 23:13:03 Re: Ipv6 network cleanup patch #2.