Re: BUG #16435: regexp_split_to_table different behavior in 9.2 and 12.2

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: prashant_rokad(at)yahoo(dot)com, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #16435: regexp_split_to_table different behavior in 9.2 and 12.2
Date: 2020-05-13 21:17:23
Message-ID: CAKFQuwb+jdgntUDr9ogf4txOyAgmQ33BQxNjQ0RBW04X85dsrw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, May 13, 2020 at 12:14 PM PG Bug reporting form <
noreply(at)postgresql(dot)org> wrote:

> The following bug has been logged on the website:
>
> Bug reference: 16435
> Logged by: prashant
> Email address: prashant_rokad(at)yahoo(dot)com
> PostgreSQL version: 12.2
> Operating system: Windows
> Description:
>
> Hi,
>
> we are upgrading postgresql from 9.2 to 12.2 and observed that
> "regexp_split_to_table" functions is giving different output in 12.2 than
> 9.2.
>

This was intentional. You will need to rewrite your query - probably by
moving the call to regexp_split_to_table to the FROM clause and leveraging
the LATERAL feature.

David J.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2020-05-14 05:38:53 BUG #16436: Functions with input parameter table type failing from application
Previous Message PG Bug reporting form 2020-05-13 18:20:36 BUG #16435: regexp_split_to_table different behavior in 9.2 and 12.2