postgis.enable_outdb_rasters
Name
postgis.enable_outdb_rasters — A boolean configuration option to enable access to out-db raster bands.
Description
A boolean configuration option to enable access to out-db raster bands. This option can be set in PostgreSQL's configuration file: postgresql.conf. It can also be set by connection or transaction.
The initial value of
postgis.enable_outdb_rasters
may also be set by passing the environment variable
POSTGIS_ENABLE_OUTDB_RASTERS
with a non-zero value to the process starting PostgreSQL.
|
|
|
Even if
|
|
|
|
In the standard PostGIS installation,
|
Availability: 2.2.0
Examples
Set and reset
postgis.enable_outdb_rasters
for the current session.
SET postgis.enable_outdb_rasters TO True;
SET postgis.enable_outdb_rasters = default;
SET postgis.enable_outdb_rasters = True;
SET postgis.enable_outdb_rasters = False;
Set the default for all new connections to a database.
ALTER DATABASE gisdb SET postgis.enable_outdb_rasters = true;
Set the default for the whole database cluster. This requires superuser access. Also note that database, session, and user settings override this.
This example writes the setting to postgres.auto.conf.
ALTER SYSTEM SET postgis.enable_outdb_rasters = true;
Reload the PostgreSQL configuration so the changed setting is applied.
SELECT pg_reload_conf();