Re: Add a pg_get_query_def function (was Re: Deparsing rewritten query) - Mailing list pgsql-hackers

From Julien Rouhaud
Subject Re: Add a pg_get_query_def function (was Re: Deparsing rewritten query)
Date
Msg-id 20220328154821.w4mznzb7szjbshfl@jrouhaud
Whole thread Raw
In response to Re: Add a pg_get_query_def function (was Re: Deparsing rewritten query)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, Mar 28, 2022 at 11:20:42AM -0400, Tom Lane wrote:
> Julien Rouhaud <rjuju123@gmail.com> writes:
> > I'm attaching a v5 with hopefully a better comment for the function, and only
> > the "pretty" parameter.
> 
> Pushed with some minor cosmetic adjustments.

Thanks a lot!

I just published an extension using this for the use case I'm interested in.



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Document atthasmissing default optimization avoids verification table scan
Next
From: Nikola Ivanov
Date:
Subject: Re: SQL/JSON: functions