[postgis-tickets] [PostGIS] #3441: [raster] Create out-db file using ST_AddBand
PostGIS
trac at osgeo.org
Fri Feb 5 20:01:34 PST 2016
#3441: [raster] Create out-db file using ST_AddBand
--------------------------+--------------------------------
Reporter: gdrolet | Owner: robe
Type: enhancement | Status: closed
Priority: medium | Milestone: PostGIS 2.3.0
Component: raster | Version: trunk
Resolution: wontfix | Keywords: ST_AddBand, out-db
--------------------------+--------------------------------
Comment (by robe):
Like dustymugs said, we'd consider that a security hole so wouldn't build
that feature in PostGIS. The permissions on the OS always run under the
postgres account, so there is no idea of permissions for the user distinct
from permissions from daemon account.
Now that said, if you really wanted to, you might be able to achieve it
with the the COPY TO PROGRAM (which is only available to postgres super
user accounts) feature in PostgreSQL
http://www.depesz.com/2013/02/28/waiting-for-9-3-add-support-for-piping-
copy-tofrom-an-external-program/
and then once it's created, attach to it as you did above.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3441#comment:10>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list