Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vzwB0-001SZA-1Y for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Mar 2026 12:27:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vzwAy-0030wm-3A for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Mar 2026 12:27:05 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vzwAg-002x6F-0F for pgsql-hackers@lists.postgresql.org; Tue, 10 Mar 2026 12:26:46 +0000 Received: from mail-qt1-x82c.google.com ([2607:f8b0:4864:20::82c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vzwAe-00000001Rk6-1XvH for pgsql-hackers@lists.postgresql.org; Tue, 10 Mar 2026 12:26:45 +0000 Received: by mail-qt1-x82c.google.com with SMTP id d75a77b69052e-50904a8f421so27862221cf.2 for ; Tue, 10 Mar 2026 05:26:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1773145603; cv=none; d=google.com; s=arc-20240605; b=Q/+ci1Y1XFTctFR2k7M5a+gT4/spOp9R+1mLOjLaEftIoWClbT3xxdoQzXHjiS2nmR dJFu8lZDPHP4mrLmCSJ4TPDgOflhYVfx0iRsZjCOATHH83hh212UYI0+d4jjCUPBaLOf o1NKCk2U04fK7SSZkWvG1cV0MaMh7OAyN6IXbMjIh4RFWYGJWw8WWKfKqGu0gTy0wiib pfOxRuRTfQiOWC6L11VwC9m18CfRngVigD1RU5EfaSl+pzU1LUYcxuuIRoFEfIAgr76o GB3TCWHL2gg1sYspScsrYunFgKIV2T6v21+EyX/gZ8toiv0g6ZJTamJhgM10jFFUnPGe H5Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=iYobRuFYfuYnwheQI9ON3va8lq+nswdawEX88pspeUA=; fh=9IEvSkYDw9Uz+FAA9+C+JZKCbWSPk1egp+Vp17l0IxE=; b=KdAO7BJaW5KvpmP4LOr0rhcZFHmND+I9z2T7f/8P7asa3rThOGYJMiVwmiDuXmo9Rh k8b5JxK5Y53wQKnfGmN0gPVe7NRmHMbqrtzFvKLQLuMMU55RXYxQPc0oHKfpba0RLCO7 1HD6fu77vxB2B+Z72vMjkytLdEnvaI1VmTTmIGErHDWBjAqoIr5IByqBCXzxCVEJFj7g ugxUI640NrREFyWmv3C6yi5rKrw7D1JMV9v8QBdgMNDDjZIHCaWXT2jjAlnH0CqeZUgn +264Tm3J2QRYDnghZB4CxfqN2ENuitEv/T0yrt4xjMauG0zsjhY1exQrMg9o9yEABWH7 rMXw==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773145603; x=1773750403; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=iYobRuFYfuYnwheQI9ON3va8lq+nswdawEX88pspeUA=; b=XvD+be2z+WFrvtPLzeUKDkKUiIjyYQArj9krxbWmA/eyMoE1lo2WYm1NYqNUeMiwI3 45JcH8+cYJdw70Yq0wVnpG8OdkdTdWSufxVa/R7K5/kI/CkH8p7F7Od/p4ckFB3K5+pW I7SSID34vk6GBFvTLpuKNaL+OQjT5mmq8nChkY7p9FXUujL0Ht5au/5Gc5ZrDH2wmJDW Zk5r9KkuM94QvebA7RsaGHeJKs6MCWPxl+dMzHqgxJxFJwIZq+5b4WV9+3+L6xGNiZMp 7Nz/ZNgTx0TS5C8oRar/UPrQKLgZKV3dwUOJQOxF6NNl3DwXbUvqjh+jkDMnVEwD+Bah Fscg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773145603; x=1773750403; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=iYobRuFYfuYnwheQI9ON3va8lq+nswdawEX88pspeUA=; b=tkNDzk/PqFHNYdppKNhoIqLnPDyKPeCSVhyc959exr4nDk1ZpNK2jurSv+VwFAK4mv t6BSWVRcu6dQcRovwM046ccqFUgDveDfGmVNe1auvON8MMMcAgaat6k5UDeayS5LIpab sBLmEJ258oFghl9rAN02ehnjhFdFXrZbyR2hZunFiDfqV42i3bDPsXo3uXC/b9qQfVV/ fKef6SlU7QxwS4Ho7uBZMqXAoU0qx9Ru6pnepdV9TzflJWtyldPSJI528bFSpcL0pH0J TTwkJoLpmll1CgQqSFJZN7LvpSrAuUPJpYOzCUxTxdYJMeoYNwbhbkdkJTr4FAyte4II QfNg== X-Forwarded-Encrypted: i=1; AJvYcCX1QqoqkFR0tTRf6cAtYyfoCvZKs6jdgYEpFKw2zk2DLIQvi8ACNfWCwXKz+3TJTgVveTkbEH8DlgswTFPm@lists.postgresql.org X-Gm-Message-State: AOJu0YxGRoz0LoTaVAkmujNiJoxNyyW0r60HZHaYTJ/mYEcTA6xkRGBo zCi4v5lpE+pwFamZXqFNzKtlegc2kfhdjbG+7NncYUjZpmoCVXHeZfwLvzkDkSQ2byzd8/zc/Z+ gPVl5GQXYlWPTM9oPCeacaMo3ZvSGYJU= X-Gm-Gg: ATEYQzwaxAIFRmI2ZLXJBxhyqzdx6UO0Yh1C1IFhBu8/MTVRQ4hDmL3G8p1pFuZQiHx dTif5iEHfBr1yf5z8JVvrmTiZed85xfNJCHoLi6BYj6alhrV4aacgF3epu0F3l3v0m5dn8UY+tO hlJ+CkQhKTlLzhqXyp2ECG1jcru8sMasKTAgbBV0aMWrK4Kr81N02Y+l3lXqeXBCq7v8TKKOp79 Gp76vJXhPxf/7zlvRXWnSoC8YUxSYilEFybM82DQ8I4e5Y0PUg/oQBkLIP23yCCKPY4aTEwcmwR ToKT0wSQ3VoLDmfXBz/yJAJIanDggT2D4ylYXb4hUe2tZoOKONMAO5At/OfLyRTyim9GYZjXDU2 wcP93LNxhuoHgKjl9 X-Received: by 2002:a05:622a:1887:b0:509:25da:22cf with SMTP id d75a77b69052e-50925da2777mr39199921cf.76.1773145602643; Tue, 10 Mar 2026 05:26:42 -0700 (PDT) MIME-Version: 1.0 References: <1ace7bc1-9dd4-42c9-a473-517cef37cce9@eisentraut.org> <6F8D7105-BD1C-432D-84F3-BC688C0C8EDC@gmail.com> <9B820A52-D2F6-465D-B258-6FE8EBA59FAE@gmail.com> <53a13f97-340f-4d04-9dcc-77ca3ffb6a6a@eisentraut.org> <85ac7f0e-d95f-4377-ade0-8941fd328012@eisentraut.org> <7d63ddfa-c735-4dfe-8c7a-4f1e2a621058@eisentraut.org> <4606deaa-7d65-4f22-8a78-356c3180be9d@eisentraut.org> In-Reply-To: From: Kirill Reshke Date: Tue, 10 Mar 2026 17:26:30 +0500 X-Gm-Features: AaiRm53mH-pijdI2oyvTI66Hc8QtBmF8YcQSPQVr0NkFfJYsT8mhyit1X8sfgEc Message-ID: Subject: Re: SQL:2011 Application Time Update & Delete To: Paul A Jungwirth Cc: Peter Eisentraut , Chao Li , PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, 20 Feb 2026 at 22:16, Paul A Jungwirth wrote: > > On Fri, Feb 13, 2026 at 12:00=E2=80=AFPM Paul A Jungwirth > wrote: > > > > Here is another round to fix a few rebase conflicts. > > I realized we didn't have any tests for v18's new feature to say > `UPDATE ... RETURNING OLD.foo, NEW.foo`. These patches add a small > test for `RETURNING OLD.valid_at, NEW.valid_at` when you say `UPDATE > FOR PORTION OF valid_at`. This seems worth testing since that column > gets set in an automatic way, not via the normal SET syntax. No fixes > were needed. > > I also corrected the commit message, which still referred to the > without_overlaps function that we renamed to > {range,multirange}_minus_multi. > > As far as I know nothing else here is waiting on me, but please > correct me if I've overlooked something. > > Rebased to 18bcdb75d1. > > Yours, > > -- > Paul ~{:-) > pj@illuminatedcomputing.com Hi! v67-0001 looks good to me. When applying first two of patches from v67 series, my initdb fails: ``` reshke@yezzey-cbdb-bench:~/cpg$ ./bin/bin/initdb -D ./db The files belonging to this database system will be owned by user "reshke". This user must also own the server process. The database cluster will be initialized with locale "C.UTF-8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are enabled. creating directory db ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default "max_connections" ... 100 selecting default "shared_buffers" ... 128MB selecting default time zone ... Etc/UTC creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... 2026-03-10 12:21:05.842 UTC [2995664] WARNING: unrecognized node type: 155 2026-03-10 12:21:05.842 UTC [2995664] FATAL: unrecognized node type: 155 2026-03-10 12:21:05.842 UTC [2995664] STATEMENT: REVOKE ALL ON pg_authid FROM public; child process exited with exit code 1 initdb: removing data directory "db" ``` without v67-0002 initdb runs ok. Also, after v67-0002 my createdb fails: ``` reshke@yezzey-cbdb-bench:~/cpg$ ./bin/bin/createdb createdb: error: query failed: ERROR: syntax error at or near "(" LINE 1: SELECT pg_catalog.set_config('search_path', '', false); ^ createdb: detail: Query was: SELECT pg_catalog.set_config('search_path', '', false); ``` Simple queries also fails: ``` postgres=3D# select now(); WARNING: unrecognized node type: 144 ERROR: unrecognized node type: 76 ``` -- Best regards, Kirill Reshke