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 1kQvKz-0004KH-Ps for pgsql-general@arkaria.postgresql.org; Fri, 09 Oct 2020 16:33:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kQvKw-00019B-Cq for pgsql-general@arkaria.postgresql.org; Fri, 09 Oct 2020 16:33:42 +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 1kQvKw-000194-3S for pgsql-general@lists.postgresql.org; Fri, 09 Oct 2020 16:33:42 +0000 Received: from mail-oi1-x229.google.com ([2607:f8b0:4864:20::229]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kQvKr-0002Kh-MP for pgsql-general@postgresql.org; Fri, 09 Oct 2020 16:33:41 +0000 Received: by mail-oi1-x229.google.com with SMTP id u126so10725964oif.13 for ; Fri, 09 Oct 2020 09:33:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=EVNKOlWqq1twd54IKjo4URxY0cqsUg1+s+w7HadzYdA=; b=NvAfplUuSKK+Ar093r8rNohV0kSVkEOXrVxPEWZZizmsJDHIl7vurqOpzZ7vBdzdlX NfG85tmfb9/vp+xSEW+9C+opPHNW385d38aDvjP5qdsgTK7G653lfQ8YH9zyYc5qzfcL 3RWvFxRLF6RNXGNdq/Q1FOs3nfegHe7rqjW/IcOHswBWDtd4jzy8+wXLh+2sK1ANP39C eBPFdWUYvC5GjR2NxqVv5jVbob9cf8LYbFbi0FerIdQAeKdxy3OmX0KKu405ewtPIpgP BZZXw7eHzZJp3WQNaDMVsVw3dehze6z/IOvm0ZG/56+qjB5EUfu0SnbB7ZqqMwMkJjce SKmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=EVNKOlWqq1twd54IKjo4URxY0cqsUg1+s+w7HadzYdA=; b=T4iDWuOTUXxpCbuuk17iaEd/GuvTMzzPEZF4qZzxpWv8rtj85YJSgoDSKBKk11iVeR /9umr8PHURQi7iLRZ1K1ZlQ8Pz1NlwQxAOuyF4Dm4K6hRr+VB4gXTRuQZFbjILII1Yf9 MxwuYubArrV4BoYIETlHrb/dZf8rDEnrMomHvbwl85KxTzJxQyQLjtVOxICDpvbcVAOM N3kAv+y6wvtL2phefmhjwYUCGTc79sJUmhxIBH487/KXo3RVemlOoGhDBjoPHMCgj012 xOzWgTQMNPUTX89vpySY5WoJs0CVsCbGeRxv4TkJHf1oX4LFsufLugrjCzmnuDOWUFl8 UjJg== X-Gm-Message-State: AOAM533lzW9HbdXBaPWcjTZBH7lXiIh+nrwBLRoSPX9D64rNzWTuGa8E WIQOfnelioDcisUHjgo9jSEggBpDY5p+9g== X-Google-Smtp-Source: ABdhPJw6Bm0j8a7Onn9dvh3UaXf9YrYFBc+zDvCEvUQdPW7F+EWXb6oQ2L2+pdToIMjNBQtDssgR9A== X-Received: by 2002:aca:484f:: with SMTP id v76mr3062042oia.45.1602261215751; Fri, 09 Oct 2020 09:33:35 -0700 (PDT) Received: from ?IPv6:2601:681:5500:dde0:44cf:1e8:85cb:69cf? ([2601:681:5500:dde0:44cf:1e8:85cb:69cf]) by smtp.gmail.com with ESMTPSA id n92sm6667764ota.67.2020.10.09.09.33.35 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Oct 2020 09:33:35 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: Any interest in adding match_recognize? From: Rob Sargent In-Reply-To: <7e495cb8-ca03-4e3e-aa7e-45bf75212da8@Spark> Date: Fri, 9 Oct 2020 10:33:34 -0600 Cc: "pgsql-general@postgresql.org" Content-Transfer-Encoding: quoted-printable Message-Id: <48CD7403-1644-4737-9EB5-7CE8BF9AD53D@gmail.com> References: <5938d532-8a12-4184-b2c9-35d6d3a51517@Spark> <7e495cb8-ca03-4e3e-aa7e-45bf75212da8@Spark> To: Guyren Howe X-Mailer: Apple Mail (2.3608.120.23.2.4) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Oct 9, 2020, at 10:25 AM, Guyren Howe wrote: >=20 > I just became aware of the SQL 2016 standard match_recognize feature, = which allows for rich pattern matching across groups of rows. It=E2=80=99s= a great feature, currently only supported in Oracle. >=20 > I can find no evidence it=E2=80=99s ever been discussed here and = there=E2=80=99s no mention of it on the PG website. >=20 > So: is anyone considering adding this feature? Do you happen to know if Oracle implemented this before or after 2016?