• Robert Haas's avatar
    Add new FDW API to test for parallel-safety. · 35746bc3
    Robert Haas authored
    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.
    35746bc3
file_fdw.c 31.2 KB