Re: Re: [COMMITTERS] pgsql: This makes all the \dX commands (most importantly to most: \df) - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Re: [COMMITTERS] pgsql: This makes all the \dX commands (most importantly to most: \df)
Date
Msg-id 20090107021317.GI27789@alvh.no-ip.org
Whole thread Raw
In response to Re: Re: [COMMITTERS] pgsql: This makes all the \dX commands (most importantly to most: \df)  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Re: [COMMITTERS] pgsql: This makes all the \dX commands (most importantly to most: \df)  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Bruce Momjian wrote:
> Alvaro Herrera wrote:

> > No, so that the translators don't have to worry about getting alignment
> > right; and also so that they don't have to translate \\d[S+] etc which
> > obviously doesn't need any translation.
> 
> I am thinking we can do:
> 
>     fprintf(output, "  \\da[S]   %.9s    %s\n", _("[PATTERN]"), 
>         _("list aggregate"));
> 
> What do you think?

Right, something like that ... I'm wondering, though, if there are any
translations where [PATTERN] ends up longer than 9 chars.  At least none
of the existing translations has that problem, so it seems we're good ...

Hmm, what's the difference here:
 \dd      [PATTERN]    show comment for object \dd[S]   [PATTERN]    list comments on objects
?

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


pgsql-hackers by date:

Previous
From: ITAGAKI Takahiro
Date:
Subject: Re: SQL/MED dummy vs postgresql wrapper
Next
From: KaiGai Kohei
Date:
Subject: Re: New patch for Column-level privileges