Re: Parallel indicators not written by pg_get_functiondef - Mailing list pgsql-hackers

From Feike Steenbergen
Subject Re: Parallel indicators not written by pg_get_functiondef
Date
Msg-id CAK_s-G0kE43drFjx1w_rVSYU6BH5R51W92ofC6h-Xj7UeST_vA@mail.gmail.com
Whole thread Raw
In response to Re: Parallel indicators not written by pg_get_functiondef  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: Parallel indicators not written by pg_get_functiondef  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
This patch is redundant as of commit 2ac3be2e763d9b971352819f285dd51519e0aeb9

(Ashutosh Sharma diagnosed and patched the same problem)

On 15 April 2016 at 14:13, Michael Paquier <michael.paquier@gmail.com> wrote:
On Fri, Apr 15, 2016 at 8:48 PM, Feike Steenbergen
<feikesteenbergen@gmail.com> wrote:
> pg_get_functiondef(oid) does not return the PARALLEL indicators.
>
> Attached a small patch to have pg_get_functiondef actually add these
> indicators, using commit 7aea8e4f2 (pg_dump.c) as a guide.
>
> The logic is the same as with the volatility: we only append non-default
> indicators.

+1 for a good catch. Your patch is correct.
--
Michael

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Parallel build with MSVC
Next
From: Christian Ullrich
Date:
Subject: Re: Parallel build with MSVC