Re: Parallel indicators not written by pg_get_functiondef

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Feike Steenbergen <feikesteenbergen(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Parallel indicators not written by pg_get_functiondef
Date: 2016-04-15 12:13:47
Message-ID: CAB7nPqSWeUnN95WJsGvXHw5qjKH_vW1BKiVh74hBpBbLrBwXbQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Apr 15, 2016 at 8:48 PM, Feike Steenbergen
<feikesteenbergen(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2016-04-15 12:46:04 Re: Optimization for updating foreign tables in Postgres FDW
Previous Message Michael Paquier 2016-04-15 12:08:11 Re: Rework help interface of vcregress.pl