Add new FDW API to test for parallel-safety.

Robert Haas <rhaas@postgresql.org>

Commit: 35746bc348b6bf1f690fe17f4f80cfb68e22f504
Author: Robert Haas <rhaas@postgresql.org>
Date: 2016-02-26T10:44:46Z
Releases: 9.6.0
Add new FDW API to test for parallel-safety.

This is basically a bug fix; the old code assumes that a ForeignScan
is always parallel-safe, but for postgres_fdw, for example, this is
definitely false.  It should be true for file_fdw, though, since a
worker can read a file from the filesystem just as well as any other
backend process.

Original patch by Thomas Munro.  Documentation, and changes to the
comments, by me.

Files

Documentation touched