Re: \d+ should display the storage options for columns - Mailing list pgsql-patches

From Alvaro Herrera
Subject Re: \d+ should display the storage options for columns
Date
Msg-id 20080524035929.GA24891@alvh.no-ip.org
Whole thread Raw
In response to Re: \d+ should display the storage options for columns  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-patches
Gregory Stark wrote:
> "Alvaro Herrera" <alvherre@commandprompt.com> writes:
>
> > This seems to be against an older version of psql ... with the
> > printTable API stuff, we reworked this -- in particular the mbvalidate()
> > call that's only on WIN32 is gone (actually it's the lack of it that's
> > gone.)
>
> Sorry. Here's a patch against a current sync of HEAD.

Neat.

> Incidentally how can this new API work? Calling _() on a function parameter
> would work but how would the translation tools know what strings need to be
> translated?

Those strings need to be in gettext_noop().  (If we're missing that
somewhere else, it's a bug) :-)

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-patches by date:

Previous
From: Gregory Stark
Date:
Subject: Re: \d+ should display the storage options for columns
Next
From: "Jaime Casanova"
Date:
Subject: Re: Extending grant insert on tables to sequences