Re: Table-driven SHOW (was Re: Are we losing momentum?) - Mailing list pgsql-hackers

From Rod Taylor
Subject Re: Table-driven SHOW (was Re: Are we losing momentum?)
Date
Msg-id 1054512164.11968.130.camel@jester
Whole thread Raw
In response to Table-driven SHOW (was Re: Are we losing momentum?)  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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

pgsql-hackers by date:

Previous
From: John Gray
Date:
Subject: Re: XML and postgres
Next
From: "Christopher Kings-Lynne"
Date:
Subject: pg_database encoding again