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.94.2) (envelope-from ) id 1uCPf4-00EnBp-M4 for pgsql-hackers@arkaria.postgresql.org; Tue, 06 May 2025 21:17:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uCPf2-009vBe-LB for pgsql-hackers@arkaria.postgresql.org; Tue, 06 May 2025 21:17:08 +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.94.2) (envelope-from ) id 1uCPf2-009vBV-B2 for pgsql-hackers@lists.postgresql.org; Tue, 06 May 2025 21:17:08 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uCPez-000Toz-2M for pgsql-hackers@lists.postgresql.org; Tue, 06 May 2025 21:17:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2025010100; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-ID:Content-Description; bh=AExQecr74KYdw6urxofCw1KisVsXzD2/N04Ra9U+qWo=; b=nzzlLeHSVyE0KHKBHAGIE5hwNt 9ZwXJSo20ta4wYk8sE+0scemlBZOpWSz4I72AprWVgt8CDmML1vZuV2QUrTFSU2p1HzQPKbZ81xyU Sp47DKn3G1x6sh42zn46k79IvwJRDJC8RGriYSZGf86tw5JIHP44mzaaa8NlwPLpljbbLEzbTyQsT cUluVfB6o6YRMxOWObiP3EaGvJ/YysryfC3bPQcCmEbJQ4HmJ/f2QyHEut9O1YHNgi9yY/PCKI7hz wj+ZfuDMDFvt3IAJz5GxQ8ncBp51NqJtIbDcwTITUKuSZs9TrL/0KI4iqHjiCRYCKS9Q0E/RU9oLR SAm6pscg==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1uCPez-006zI5-1F; Tue, 06 May 2025 17:17:05 -0400 Date: Tue, 6 May 2025 17:17:05 -0400 From: Bruce Momjian To: jian he Cc: PostgreSQL-development Subject: Re: PG 18 release notes draft committed Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="9HkxjLIU8ELYLv+9" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --9HkxjLIU8ELYLv+9 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Tue, May 6, 2025 at 10:13:36PM +0800, jian he wrote: > Add pg_dump options --with-schema, --with-data, and --with_statistics > (Jeff Davis) § > The negative versions of these options already existed. > > Add pg_dump option --sequence-data to dump sequence data that would > normally be excluded (Nathan Bossart) § > > Add pg_dump, pg_dumpall, and pg_restore options --statistics-only, > --no-statistics, --no-data, and --no-schema (Corey Huinker, Jeff > Davis) § > ```` > > in pg17, we only have "--schema-only", "--data-only", > so description "The negative versions of these options already > existed." is wrong? > you can also see the above third item conflict with it. > > ``--with_statistics`` should be ``--with-statistics``. > > > > Add option --no-policies to pg_dump, pg_dumpall, pg_restore to avoid > policy specification (Nikolay Samokhvalov) § > This is useful for migrating to systems with different policies. > > generally, we should say "row level security policy" instead of "policy"? > I think this sentence ( Add --no-policies option to control row level > security policy handling > in dump and restore operations.) in the commit message is good. > maybe we can change it to > ( Add --no-policies option to control row level security policy > handling in pg_dump, pg_dumpall, pg_restore) > > > > Allow jsonb NULL values to be cast to scalar types as NULL (Tom Lane) § > Previously such casts generated an error. > > here should be "jsonb null values", since we can not do ``select > 'NULL'::jsonb;`` All fixed in the attached applied patch. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Do not let urgent matters crowd out time for investment in the future. --9HkxjLIU8ELYLv+9 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="master.diff" diff --git a/doc/src/sgml/release-18.sgml b/doc/src/sgml/release-18.sgml index 818c2305a56..3ff9d9830e9 100644 --- a/doc/src/sgml/release-18.sgml +++ b/doc/src/sgml/release-18.sgml @@ -1916,7 +1916,7 @@ Author: Tom Lane -Allow jsonb NULL values to be cast to scalar types as NULL (Tom Lane) +Allow jsonb "null" values to be cast to scalar types as NULL (Tom Lane) § @@ -2596,13 +2596,9 @@ Author: Jeff Davis -Add pg_dump options --with-schema, --with-data, and --with_statistics (Jeff Davis) +Add pg_dump options --with-schema, --with-data, and --with-statistics (Jeff Davis) § - - -The negative versions of these options already existed. -