pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Susanne Ebrecht <susanne@2ndquadrant.com>
Cc: Pg Bugs <pgsql-bugs@postgresql.org>
Subject: Re: Syntax got translated
Date: Mon, 20 Feb 2012 14:15:34 -0300
Message-ID: <1329757905-sup-8549@alvh.no-ip.org> (raw)
In-Reply-To: <4F40141A.2060109@2ndquadrant.com>
References: <4F40141A.2060109@2ndquadrant.com>


Excerpts from Susanne Ebrecht's message of sáb feb 18 18:11:54 -0300 2012:

> Output in German:
> i      | integer | not null Vorgabewert nextval('t_i_seq'::regclass)
> 
> Output in French:
> i       | integer | non NULL Par défaut, nextval('t_i_seq'::regclass)
> 
> Output in Spanish:
> i       | integer | not null valor por omisión nextval('t_i_seq'::regclass)
> 
> I think that the constraint keyword "DEFAULT" should not be translated here.
> In my eyes in all cases it should output:
> 
> i      | integer | not null default nextval('t_i_seq'::regclass)

I'm not clear on this.  I translated it because it seemed sensible, but
I remember stopping for a minute to consider it.  Maybe if more people
thinks it should not be translated, we could remove the translatability
marker from DEFAULT and other stuff like NOT NULL.  I'mnot sure
however.  Just removing the translations from the existing catalogs is
not enough, because future versions will just put them back.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



view thread (12+ messages)  latest in thread

Message-ID: <1329757905-sup-8549@alvh.no-ip.org>
Permalink:  ../1329757905-sup-8549@alvh.no-ip.org/
Also on:    postgresql.org/message-id/1329757905-sup-8549@alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: alvherre@commandprompt.com, susanne@2ndquadrant.com
  Subject: Re: Syntax got translated
  In-Reply-To: <1329757905-sup-8549@alvh.no-ip.org>
  References: <4F40141A.2060109@2ndquadrant.com> <1329757905-sup-8549@alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox