diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-09-29 13:32:27 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-09-29 13:32:34 -0400 |
commit | 8e91e12bc3af85ba2287866669268f6825d2cc03 (patch) | |
tree | a44bfbe353b0ceb92a4170c6118db5ec40b86e10 /contrib/btree_gist/btree_gist.h | |
parent | 728a3e73e96173bb0b0b2afc0da061991f9e3d5d (diff) | |
download | postgresql-8e91e12bc3af85ba2287866669268f6825d2cc03.tar.gz postgresql-8e91e12bc3af85ba2287866669268f6825d2cc03.zip |
Allow contrib/file_fdw to read from a program, like COPY FROM PROGRAM.
This patch just exposes COPY's FROM PROGRAM option in contrib/file_fdw.
There don't seem to be any security issues with that that are any worse
than what already exist with file_fdw and COPY; as in the existing cases,
only superusers are allowed to control what gets executed.
A regression test case might be nice here, but choosing a 100% portable
command to run is hard. (We haven't got a test for COPY FROM PROGRAM
itself, either.)
Corey Huinker and Adam Gomaa, reviewed by Amit Langote
Discussion: <CADkLM=dGDGmaEiZ=UDepzumWg-CVn7r8MHPjr2NArj8S3TsROQ@mail.gmail.com>
Diffstat (limited to 'contrib/btree_gist/btree_gist.h')
0 files changed, 0 insertions, 0 deletions