]> granicus.if.org Git - postgis/commitdiff
fix typo in tag provide example for enable driver and database and system level
authorRegina Obe <lr@pcorp.us>
Tue, 29 Sep 2015 03:30:28 +0000 (03:30 +0000)
committerRegina Obe <lr@pcorp.us>
Tue, 29 Sep 2015 03:30:28 +0000 (03:30 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@14123 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_guc.xml
doc/reference_raster.xml

index da32b9ec620e8ffe8aa4e11c07c7c3ebd9dea345..a5b0f8e165ba55346a16999f45ff40aebb721587 100644 (file)
@@ -150,6 +150,15 @@ SET postgis.gdal_datapath = 'C:/Program Files/PostgreSQL/9.3/gdal-data';</progra
                                <title>Examples</title>
                                <para>Set and reset <varname>postgis.gdal_enabled_drivers</varname></para>
 
+                               <para>Sets backend for all new connections to database</para>
+                               <programlisting>ALTER DATABASE mygisdb SET postgis.gdal_enabled_drivers TO 'GTiff PNG JPEG';</programlisting>
+                               
+                               <para>Sets default enabled drivers for all new connections to server. Requires super user access and PostgreSQL 9.4+.  
+                                   Also not that database, session, and user settings override this.</para>
+                               <programlisting>ALTER SYSTEM SET postgis.gdal_enabled_drivers TO 'GTiff PNG JPEG';
+SELECT pg_reload_conf();
+                               </programlisting>
+                       
                                <programlisting>
 SET postgis.gdal_enabled_drivers TO 'GTiff PNG JPEG';
 SET postgis.gdal_enabled_drivers = default;
index d1d99044d85f879d3881a773369ffff4b3c86d62..ddad72c5caec3974d0b64020011ac9e15ffa818f 100644 (file)
@@ -1290,7 +1290,7 @@ WHERE short_name = 'GTiff') As g;
          <refsection>
                <title>See Also</title>
 
-               <para><xref linkend="RT_ST_AsGDALRaster" />, <xref linkend="ST_SRID" />, <xref linked="postgis_gdal_enabled_drivers" /> </para>
+               <para><xref linkend="RT_ST_AsGDALRaster" />, <xref linkend="ST_SRID" />, <xref linkend="postgis_gdal_enabled_drivers" /> </para>
          </refsection>
        </refentry>