diff options
author | Robert Haas <rhaas@postgresql.org> | 2016-02-26 16:14:46 +0530 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2016-02-26 16:14:46 +0530 |
commit | 35746bc348b6bf1f690fe17f4f80cfb68e22f504 (patch) | |
tree | 249efeced5372af345491e39d2c442f3ca610b6d /src/backend/commands/prepare.c | |
parent | 9117985b6ba9beda4f280f596035649fc23b6233 (diff) | |
download | postgresql-35746bc348b6bf1f690fe17f4f80cfb68e22f504.tar.gz postgresql-35746bc348b6bf1f690fe17f4f80cfb68e22f504.zip |
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.
Diffstat (limited to 'src/backend/commands/prepare.c')
0 files changed, 0 insertions, 0 deletions