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 1iEUuk-0005Aj-2V for pgsql-general@arkaria.postgresql.org; Sun, 29 Sep 2019 08:50:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iEUug-0008GW-I7 for pgsql-general@arkaria.postgresql.org; Sun, 29 Sep 2019 08:50:42 +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 1iEUug-00088s-0C for pgsql-general@lists.postgresql.org; Sun, 29 Sep 2019 08:50:42 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iEUuc-0002SZ-FL for pgsql-general@lists.postgresql.org; Sun, 29 Sep 2019 08:50:41 +0000 Received: by mail-wr1-x433.google.com with SMTP id w12so7605792wro.5 for ; Sun, 29 Sep 2019 01:50:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=WrsPeYIxU+9HB/1xEkIA1gTY4eLE6xFfI518CuRK9jY=; b=j2Ut37Jl0lxNgGCDT6O6RMl62Sf6U3kcfLIf+FYhI5aS9Tt9/Nn4fw1N2JWOS9zql1 RodUWaYNuRIRQmWhx7xYFUb9YhoMj3eUnlZIzgI2oUArkGow4JzWrWd7RXUF8NqK9s4H aQg5+owCMZhqeNUezQnMlOE/Duo5RKGNP5fOEcPah1WCAqnaHIr9IYc7+6WoLg6vlOLo Fmkip8nY48yQHrQrrSch2RsO+QevV3ZAKNPbXHJ4PY85fzbhtlp9votJpvS94h+95uni nYKmanIAixGLnDcxR4Ef446yHxnwPRv90+WcyluTWIrtCrSwOCDR9DkUf4YcvKfiLpZw UtOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=WrsPeYIxU+9HB/1xEkIA1gTY4eLE6xFfI518CuRK9jY=; b=q+02RS0iVmYT12XDjgwJHbXiBma5ms0xGkgZj0rVeYpykF+7cs0KrQF8tYmbhQDh+H fd7LY5Vyqjw5X1/oR3jy+VBWstwyLxVnEYXSzLeR0hj8JeD6JT4T7iIlQlL7oOXfJ7hu nYr18XWY/RBYa6LEdrwZBQdNK2JyjrwOMtK2BwLpHrbHQWwUr13r6hytuUcgdvbHNIA0 nHW+wspByMBYy2GJke7bAnByNhLgInF4oDDl65dxxgUo7ZnX+MdzpxSqzIwWnS21vUUq /juulWEW2sIEzbHvUMukQtqW+r80L8fZgnGolFfqxt33BvlZetJm29BRT+D4Gs5W45at 9DLw== X-Gm-Message-State: APjAAAUdSRIbgEAqVAvWkI+icfpalGzqhXHm55sMoHooATJtgU8p2DC7 HH+eKVvcNGZkwYarGPNG0qQQA01fObBTNPR+ia8yRPuwio9httxnXRKLOTRB2NXEPlmPqkZss6v IyDS8K7NuAZHT8I/1rrmtULAzK9bCQ6jxINaBo5c5ENt5d4xGWF84by6baiiNedRNXiuJ9uOkF9 /c21r7sobP+tSASkQkNDd4 X-Google-Smtp-Source: APXvYqzN4VCRdMWyeNPOmHn9fhS6TwJid1hPpkqiV9q8PLTT2bh9ULKEvJ6xjb1/N4JrEE4OQ/raEg== X-Received: by 2002:adf:a350:: with SMTP id d16mr9231017wrb.326.1569747035686; Sun, 29 Sep 2019 01:50:35 -0700 (PDT) Received: from [10.8.8.2] ([185.94.189.189]) by smtp.gmail.com with ESMTPSA id l9sm10790628wme.45.2019.09.29.01.50.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Sep 2019 01:50:35 -0700 (PDT) Subject: Re: How to handle things that change over time? To: Paul Jungwirth , pgsql-general@lists.postgresql.org References: <20190913095733.GD22033@panix.com> From: Vik Fearing Message-ID: <26845cd2-a6e2-d51a-3b9d-5dbcaa859a4a@2ndquadrant.com> Date: Sun, 29 Sep 2019 10:50:32 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 13/09/2019 17:19, Paul Jungwirth wrote: > The SQL:2011 standard also has temporal primary keys, foreign keys, > SELECTs, and UPDATE/DELETEs, and we're working on adding those too. And here is a full implementation of all that: https://github.com/xocolatl/periods/ It is packaged in both the deb and rpm repositories for PGDG.