[postgis-devel] Proj GUCs

Regina Obe lr at pcorp.us
Thu Jun 22 06:18:26 PDT 2023


> > That seems like a reasonable compromise; it's not really version but
> > config, and I could see someone wanting
> >
> >   postgis_proj_config()
> >
> > with the extra stuff instead, and then postgis_full_config() and
> > postgis_full_version_config().
> 
> Great name for a new function, with JSON output ideally
> 
> --strk;

I don't think that's necessary.  To me it's useful for debugging user
issues.

We already have in our reporting bug instructions 

Do 

SELECT postgis_full_version();

Now that returns something like Below.  I was expecting you to complain
about how long and painful this output is or is that why you want json?

POSTGIS="3.4.0dev 3.3.0rc2-996-g38d752255" [EXTENSION] PGSQL="160"
GEOS="3.12.0dev-CAPI-1.18.0" SFCGAL="SFCGAL 1.4.1, CGAL 5.3, BOOST 1.78.0"
PROJ="8.2.1 NETWORK_ENABLED=OFF URL_ENDPOINT=https://cdn.proj.org
USER_WRITABLE_DIRECTORY=C:\Users\robe\AppData\Local/proj
DATABASE_PATH=C:\ming64gcc81\projects\proj\rel-proj-8.2.1w64gcc81/share/proj
/proj.db" LIBXML="2.9.14" LIBJSON="0.12" LIBPROTOBUF="1.2.1" WAGYU="0.5.0
(Internal)"



More information about the postgis-devel mailing list