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 1lix2a-00055L-3e for pgsql-advocacy@arkaria.postgresql.org; Tue, 18 May 2021 10:33:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lix2Y-0005zX-Gq for pgsql-advocacy@arkaria.postgresql.org; Tue, 18 May 2021 10:33:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lix2Y-0005zP-7n for pgsql-advocacy@lists.postgresql.org; Tue, 18 May 2021 10:33:30 +0000 Received: from lb1-smtp-cloud9.xs4all.net ([194.109.24.22]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lix2W-0005i2-2h for pgsql-advocacy@lists.postgresql.org; Tue, 18 May 2021 10:33:29 +0000 Received: from cust-95b88905 ([IPv6:fc0c:c185:a5f8:6dfd:a400:6e47:313b:867f]) by smtp-cloud9.xs4all.net with ESMTPA id ix2SlVLu1VN4kix2Tl4plw; Tue, 18 May 2021 12:33:26 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=s2; t=1621334006; bh=At05LFwUEAUkrtJZpKofmglSE8rAByJWECJwabBLnuA=; h=Subject:From:To:Message-ID:Date:MIME-Version:Content-Type:From: Subject; b=gkbplsAxn/XMuUmAu2dTp4GAG49e8nIvfK3UwWA5O12SSS5YMIDJmNzJVvljbyu3j 8Aw0MuvTUxoSmKMRYh/MHEtK1Z6jQWE0kGj+sVRBCeZCQLG3cfee2nbRkZE2TmTZRA zkL00J8G6H6SThfs+hUS0htPg0y7iF3mKkjMhIMNmsWGWxbNlyQTwJ0D5ADwwKrLLN y7dJDt/PtZriQpmQFgxtrCpAW7SB83qFwy70Vw5QXo+7/Au7931bgVmh1Jo8bx0Ck/ 9jfu/UaXbC+bG5DaklXyHZbPv27w2bu3BzMmW6xzEpZ6dSArjtdrLkNZN3LEiwM/31 C9qUoQv2UklPQ== Subject: Re: PostgreSQL 14 Beta 1 release announcement draft From: Erik Rijkers To: "Jonathan S. Katz" , PostgreSQL Advocacy References: Message-ID: <257535a3-eafd-ee83-075f-133d909ec2d1@xs4all.nl> Date: Tue, 18 May 2021 12:33:24 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-CMAE-Envelope: MS4xfI6Nfc1m9CvIvlbYnEDmOv+YcgmDlk3d/vtTqNB3RP5miNz+RewGnvKOFZQSsvTL5hgEpek8bzlr4KDzKpaz/P2mWEDA/S4/CUn5405klegMiMFXJHmm b0jXJTQ2SvJbmJdRBN767GFj3BOyiMkSX8z7h5Jq+CICJa8wj6PJP7OWnyuRM9a9kPN4m5K9Qj7JhzpK0jgaZY7BKcM44weduZX56GxNcWD5DBFeSdNvvaRp s4wl9GaLh9lFprP8KkUE+ilcy5accYzcXf48zpYRLpAplWu93ZEP+75mUTOTYwci+kEupVy8YTBTrL3c/U80efF4HkkPozSjf+ZvDnPDEqs= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 14beta1.md mentions subscripting: "PostgreSQL 14 now adds a general subscripting framework for retrieving information in nested objects. For example, using the `JSONB` data type with, you now are able to retrieve nested info just using the `.` operator (e.g. `this.now.works.to.retrieve.this.json.data`)." Is this correct?  I thought the provided JSON subscripting functionality is: select     jsonb_pretty(js)   , js['this']   , js['this']['now']   , js['this']['now']['works']   , js['this']['now']['works'][1] from   (values ('{"this": { "now": {"works": [1,2] } } }'::jsonb)) as f(js) ;       jsonb_pretty      |             js             | js         |   js   | js ------------------------+----------------------------+-------------------+--------+----  {                     +| {"now": {"works": [1, 2]}} | {"works": [1, 2]} | [1, 2] | 2      "this": {         +| |                   |        |          "now": {      +| |                   |        |              "works": [+| |                   |        |                  1,    +| |                   |        |                  2     +| |                   |        |              ]         +| |                   |        |          }             +| |                   |        |      }                 +| |                   |        |  }                      | |                   |        | (1 row) Where can the `.` operator be used in JSON(B)? What did I miss? Erik Rijkers On 5/17/21 5:01 PM, Erik Rijkers wrote: > On 5/17/21 4:15 PM, Jonathan S. Katz wrote: >> Please see the attached draft for the PostgreSQL 14 Beta 1 release >> announcement this week. > > [..] > > Here are a few changes: > > > when the `async_capable` flag is it.  should be: > > when the `async_capable` flag is set. > > > can on foreign tables.   should be: > on foreign tables. > > > using the `JSONB` data type with,   should be:  using the `JSONB` data > type, > > > Admittedly I am not a native speaker but that I do not understand > > 'bubble' is perhaps reason to rephrase? > > > command in can now   should be: > command can now > > > Thank you, > > Erik Rijkers > > > > >