Name

postgis.enable_outdb_rasters — DB 외부 래스터 밴드에 접근할 수 있게 해주는 불 설정 옵션입니다.

설명

DB 외부 래스터 밴드에 접근할 수 있게 해주는 불 설정 옵션입니다. PostgreSQL의 설정 파일 postgresql.conf 안에서 이 옵션을 설정할 수 있습니다. 또 연결이나 상호처리 단계에서도 설정할 수 있습니다.

PostgreSQL을 구동시키는 과정에서 0이 아닌 값과 함께 환경 변수 POSTGIS_ENABLE_OUTDB_RASTERS 를 패스(pass)시켜 postgis.enable_outdb_rasters 의 초기값을 설정할 수도 있습니다.

[Note]

postgis.enable_outdb_rasters 가 참이라 할지라도, GUC postgis.enable_outdb_rasters 가 접근 가능한 래스터 형식을 결정합니다.

[Note]

표준 PostGIS 설치시, postgis.enable_outdb_rasters 는 거짓으로 설정됩니다.

2.2.0 버전부터 사용할 수 있습니다.

예시

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();