Parallel indicators not written by pg_get_functiondef
Feike Steenbergen <feikesteenbergen@gmail.com>
From: Feike Steenbergen <feikesteenbergen@gmail.com>
To: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Date: 2016-04-15T11:48:24Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix pg_get_functiondef to dump parallel-safety markings.
- 2ac3be2e763d 9.6.0 cited
-
Determine whether it's safe to attempt a parallel plan for a query.
- 7aea8e4f2daa 9.6.0 cited
Attachments
- add_parallel_indicators_to_get_functiondef.patch (application/octet-stream) patch
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. Feike Steenbergen