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

Rod Taylor <rbt@rbt.ca>

From: Rod Taylor <rbt@rbt.ca>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Sean Chittenden <sean@chittenden.org>, PostgreSQL Development <pgsql-hackers@postgresql.org>
Date: 2003-06-02T00:02:45Z
Lists: pgsql-hackers
> 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@rbt.ca>

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