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

From: prashant rokad <prashant_rokad(at)yahoo(dot)com>
To: "david(dot)g(dot)johnston(at)gmail(dot)com" <david(dot)g(dot)johnston(at)gmail(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-15 12:56:29
Message-ID: 133391319.742712.1589547389739@mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Thank you so much for your reply. I will follow the same.
Regards,Prashant

Sent from Yahoo Mail on Android

On Thu, 14 May 2020 at 2:47 am, David G. Johnston<david(dot)g(dot)johnston(at)gmail(dot)com> wrote: 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

Browse pgsql-bugs by date

  From Date Subject
Next Message David Gilman 2020-05-15 13:53:29 Re: BUG #16147: postgresql 12.1 (from homebrew) - pg_restore -h localhost --jobs=2 crashes
Previous Message Magnus Hagander 2020-05-15 10:49:19 Re: BUG #16439: can not read table info for greenplum 6