Re: \d+ should display the storage options for columns

Bruce Momjian <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.patches
Message-ID <[email protected]>
Alvaro Herrera wrote:
> Bruce Momjian wrote:
> 
> > Update patch applied;  I also adjusted some translation function calls.
> > The new output of psql \d+ is:
> > 
> > 	test=> \d+ test
> > 	                 Table "public.test"
> > 	 Column |  Type   | Modifiers | Storage | Description
> > 	--------+---------+-----------+---------+-------------
> > 	 x      | integer |           | plain   |
> > 	Has OIDs: no
> 
> Thanks for fixing the header problem.
> 
> This patch introduces other strings, "plain", "main" and so on that are
> not gettext_noop()ed.  Should we mark those for translation too?  I
> admit I am not sure, if only because the untranslated strings are what
> gets passed to ALTER TABLE ... SET STORAGE.  But if that's the
> decision, then it oughtta be commented in the code ...

I thought about that, but those strings are literal used in our syntax,
so translating them seemed wrong.

-- 
  Bruce Momjian  <[email protected]>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

-- 
Sent via pgsql-patches mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.