Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1loMOY-00064o-6D for pgsql-general@arkaria.postgresql.org; Wed, 02 Jun 2021 08:38:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1loMOX-0006Cg-5I for pgsql-general@arkaria.postgresql.org; Wed, 02 Jun 2021 08:38:33 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1loMOW-0006CX-Na for pgsql-general@lists.postgresql.org; Wed, 02 Jun 2021 08:38:32 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1loMOT-0006or-Vx for pgsql-general@lists.postgresql.org; Wed, 02 Jun 2021 08:38:31 +0000 Received: by mail-wm1-x32b.google.com with SMTP id l11-20020a05600c4f0bb029017a7cd488f5so1204202wmq.0 for ; Wed, 02 Jun 2021 01:38:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=wkJimQ6Sp04T2GRR5h8pxYX4dw34F/worx/xwI4l8OI=; b=LxGGvNP2XHpjD7UjeR9ay2Tg13RQG4dt3nh87cDZlmDidFOJ6MC5AMv1DdcPx4pixN ZpWdTthq6dgN0BnAjAhZ3H7GPSti3Nk3iu5BZZ4Vm14Fch3zMiTnI4QEOQMB9DZGQllp M9ZH6y1r0mXEuNzPKx7Q+CEu02itZRx94j/6WDTxsQ820YPDYlH7po5+1oJEn/9j+sgX XrQ1JxzAenFwg4b277Ygn+wgtMzsQcHwxdL34TTi56tAc5WEeTKq5dr4By/i13QvQ48S soNOTwQ/VtvE81bWaK9crwcfY9K7sZE5/7WXEXeeUvQarQ3dpf1X+kgzn+aIhZiO4k0e ny/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=wkJimQ6Sp04T2GRR5h8pxYX4dw34F/worx/xwI4l8OI=; b=FWgg1qSQ2O52S2S6c0LGouvaLLcWfXkCPiBNSYBb7/jJvO+4pxDFtkChw2g+fmp1fD FowH+Xju+4TyyrAaijlyG/dzJUsjSummbUT97b4N79x1MEZoQod4FwkpeUYLx5tuxVvV XvKuvLu5HYGhyZ8jpPKa9TiMSAEw3eEnLTeNC3Ja0ntegPIpPNGctl9Rn4kZmSLtpnW3 MQfN/eQPK1wzXckuqdG33fcMVx4TzU5XmUEM+0qPIYw7WMuSWFwr3C3n+37lIj1xS89R asRmR9jUkSoeuTHoGKrpRqPkM7Xmcdx/MiDcZpaBqWi7ZFfb1zM21v6/f408MncUqV0Q ExPQ== X-Gm-Message-State: AOAM531PmPexFk9JaLahoigEURiUQcZQVM1Q3BlT9CKlQVIUnL8OBdD+ vwXm2YhmIp9zK0OkeR5YQXRPPA== X-Google-Smtp-Source: ABdhPJz6MMS/fpftAinDju3Fr4N8qEiw7jkqVLwiASq9uNsi00AbwmHWbZZRx0rYenseJODvlLvxXw== X-Received: by 2002:a1c:bc06:: with SMTP id m6mr3682768wmf.74.1622623107208; Wed, 02 Jun 2021 01:38:27 -0700 (PDT) Received: from localhost.localdomain (217-149-171-76.nat.highway.telekom.at. [217.149.171.76]) by smtp.gmail.com with ESMTPSA id p9sm1821966wmq.48.2021.06.02.01.38.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Jun 2021 01:38:26 -0700 (PDT) Message-ID: <96915d0c324145f661eca9298d4de90d2df43cd7.camel@cybertec.at> Subject: Re: Internationalisation (i18n) with Postgres as backend From: Laurenz Albe To: Laura Smith , Steve Baldwin Cc: postgre Date: Wed, 02 Jun 2021 10:38:26 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-2.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, 2021-06-01 at 23:08 +0000, Laura Smith wrote: > I didn't consider hstore, I did consider jsonb though. > > The thing that made me lean towards individual rows rather than consolidated was > that I thought versioning would ultimately be easier/cleaner to achieve with > individual rows (e.g. using tsrange & gist exclude). But willing to be proven wrong. Your intuition is good. Don't use JSON for that, and don't use the outdated hstore extension in particular. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com