[postgis-users] Query postgis GUC variables on a new connection

Sandro Santilli strk at kbt.io
Mon Oct 28 00:32:09 PDT 2019


On Sun, Oct 27, 2019 at 03:52:37PM -0700, Paul Ramsey wrote:
> Until the library loads the system doesn’t know about the GUCs. And querying the GUCs doesn’t for a library load (the system doesn’t having a binding from GUC to library). Querying a function, on the other hand, forces a load. 
> If this really annoys you, add postgis_raster.so to the ld_preload config in postgresql.conf.

For the record, you can also use:

  LOAD '$libdir/postgis_raster-3.so'

Directly in the sql session

--strk;


More information about the postgis-users mailing list