Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hiPV5-0007Mo-WB for pgsql-hackers@arkaria.postgresql.org; Tue, 02 Jul 2019 20:35:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hiPV4-0002lD-3a for pgsql-hackers@arkaria.postgresql.org; Tue, 02 Jul 2019 20:35:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hiPV3-0002l6-Qy for pgsql-hackers@lists.postgresql.org; Tue, 02 Jul 2019 20:35:37 +0000 Received: from mail-qk1-x744.google.com ([2607:f8b0:4864:20::744]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hiPV0-0004zo-IN for pgsql-hackers@postgresql.org; Tue, 02 Jul 2019 20:35:37 +0000 Received: by mail-qk1-x744.google.com with SMTP id i125so15521147qkd.6 for ; Tue, 02 Jul 2019 13:35:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=gMAhDOmJ1sUxupiO7oNC0mkAOcwmDMrsQ+T3porCOEM=; b=TRWkkYerwh4ZosDIQaY43QxCbBFk91oAMIYX+DfcrWz5hm4xHrApC92e2PnQUFpY0f rIR3+o2Bg40+bUwC5h+vrkkQwWYlmcV5GI8o5VrJzmQm4OlRkIU+skw0mprA/6IO8ltN akDcVnrcpoawwD/fQyNfcJFoPSFssABpuvN5XStlLZrjEnmmGN5PRWPzzk0tSvCoUeFV U2BFiiIYYsCMEHyVnJUvUTtOkO1K50aibKIEzHxZJOV+euQkL0vsgi360qcoz1bouHDU wMAbZV3ksLlvFmbrbV9dTmvorx4JmBJZ6AbeYHTfiZeY8pgVogOnOnNxkBZem+66Rknl WbKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=gMAhDOmJ1sUxupiO7oNC0mkAOcwmDMrsQ+T3porCOEM=; b=GNJcCayQ7DM726BFAhCJFXqGb2iumeGo057dqntDWZg+5Sx9AncFaAqNujbCs7Mlx8 v78svnyaV9BkLT6RhPhFpGB/X3kaV0D2UpsDxZWRkOGA7p69N56JXPK5+BNpsyKU9/H3 7Vi9lTHE+5FCGPR/Pr1L9Rp0kGygwcIz43krXuboWoX5zWVito+fIzd0bE+jSFk9jU/I fM43XF8Mb0eVK85dYv3V3cVq7iWoYRqcBaljAbWXYopr89DnTwWuSZ1kFi/GHyQYw8FB 1fUfWu4EtOmbUXkCjBVzeJuXEK1BlWTBMsPOuOKZnU0TkUe0ArjVcDZfExOm/S9tAsSA Lg5w== X-Gm-Message-State: APjAAAX292nRdFbjZHxiBaPtpQZ87RHcOc0sDOqJOP5ETfKMzq9AXGUO lAHMRZfCmdzW4zSi+LsiDTvm2A== X-Google-Smtp-Source: APXvYqyCFmm6ylwUz19+LEXAQuKVAkZ9RbMLVGhkWaxRp+NL12ZPUdMtTFOz3gG9yFN+YdraohcbeA== X-Received: by 2002:a37:c45:: with SMTP id 66mr26807904qkm.31.1562099732455; Tue, 02 Jul 2019 13:35:32 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id w16sm18365qtc.41.2019.07.02.13.35.31 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 02 Jul 2019 13:35:31 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id EF2B4120A9D; Tue, 2 Jul 2019 16:35:26 -0400 (-04) Date: Tue, 2 Jul 2019 16:35:26 -0400 From: Alvaro Herrera To: Daniel Gustafsson Cc: Tom Lane , David Fetter , Fabien COELHO , Rafia Sabih , PostgreSQL Development Subject: Re: [PATCH v5] Show detailed table persistence in \dt+ Message-ID: <20190702203526.GA29015@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3076E7C5-97B6-4739-9894-0E58712194CC@yesql.se> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Jul-02, Daniel Gustafsson wrote: > > On 2 Jul 2019, at 22:16, Tom Lane wrote: > > > even if we made a test case that presumed > > --enable-nls and tried to exercise this, the lack of translations > > for the new words would get in the way for a long while. > > For testing though, couldn’t we have an autogenerated .po which has a unique > and predictable dummy value translation for every string (the string backwards > or something), which can be used for testing? This is all hand-wavy since I > haven’t tried actually doing it, but it seems a better option than waiting for > .po files to be available. Or am I missing the point of the value of the > discussed test? Hmm, no, I think that's precisely it, and that sounds like a pretty good starter idea ... but I wouldn't want to be the one to have to set this up -- it seems pretty laborious. Anyway I'm not objecting to the patch -- I agree that we're already not testing translatability and that this patch shouldn't be forced to start doing it. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services