4

How can you check if postGIS is enabled in a ruby on rails app? rails seems to do a lot of the backend for you so this is confusing for me. Normally, i would set it up and set up the extension myself. How can I check that it is enabled?

2

If you can run arbitrary sql statements

SELECT postgis_full_version();

will return results if PostGIS is enabled and installed in a schema you have access to.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.