Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id EC16E161CA36 for ; Mon, 20 Feb 2012 13:15:57 -0400 (AST) Received: from 30.55.colo.spiretech.net ([69.168.55.30] helo=lists.commandprompt.com) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RzWq9-00083a-Q1 for pgsql-bugs@postgresql.org; Mon, 20 Feb 2012 17:15:56 +0000 Received: from perhan.alvh.no-ip.org (spinlock.commandprompt.com [69.168.55.30]) by lists.commandprompt.com (Postfix) with ESMTPA id C23CF2BB; Mon, 20 Feb 2012 09:16:14 -0800 (PST) Received: from perhan.alvh.no-ip.org ([190.95.26.35] helo=perhan.alvh.no-ip.org) by assp.commandprompt.com with ESMTPS(AES256-SHA) (2.1.1); 20 Feb 2012 09:16:12 -0800 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id B050B6E508; Mon, 20 Feb 2012 14:15:34 -0300 (CLST) Content-Type: text/plain; charset=UTF-8 Cc: Pg Bugs Subject: Re: Syntax got translated From: Alvaro Herrera To: Susanne Ebrecht In-reply-to: <4F40141A.2060109@2ndquadrant.com> References: <4F40141A.2060109@2ndquadrant.com> Date: Mon, 20 Feb 2012 14:15:34 -0300 Message-Id: <1329757905-sup-8549@alvh.no-ip.org> User-Agent: Sup/git X-Assp-Version: 2.1.1(11364) on assp.commandprompt.com X-Assp-Client-TLS: yes X-Assp-ID: assp.commandprompt.com m1-58174-00454 X-Assp-Envelope-From: alvherre@alvh.no-ip.org X-Assp-Intended-For: susanne@2ndquadrant.com X-Assp-Original-Subject: Re: [BUGS] Syntax got translated Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201202/147 X-Sequence-Number: 32490 Excerpts from Susanne Ebrecht's message of s=C3=A1b feb 18 18:11:54 -0300= 2012: > Output in German: > i | integer | not null Vorgabewert nextval('t_i_seq'::regclass) >=20 > Output in French: > i | integer | non NULL Par d=C3=A9faut, nextval('t_i_seq'::regcla= ss) >=20 > Output in Spanish: > i | integer | not null valor por omisi=C3=B3n nextval('t_i_seq'::= regclass) >=20 > I think that the constraint keyword "DEFAULT" should not be translated = here. > In my eyes in all cases it should output: >=20 > 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. --=20 =C3=81lvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support