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

From Michael Paquier
Subject Re: Parallel indicators not written by pg_get_functiondef
Date
Msg-id CAB7nPqSWeUnN95WJsGvXHw5qjKH_vW1BKiVh74hBpBbLrBwXbQ@mail.gmail.com
Whole thread Raw
In response to Parallel indicators not written by pg_get_functiondef  (Feike Steenbergen <feikesteenbergen@gmail.com>)
Responses Re: Parallel indicators not written by pg_get_functiondef
List pgsql-hackers
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: Rework help interface of vcregress.pl
Next
From: Michael Paquier
Date:
Subject: Re: Optimization for updating foreign tables in Postgres FDW