Changes between Initial Version and Version 1 of Ticket #3975, comment 5


Ignore:
Timestamp:
Jan 11, 2018, 9:39:41 AM (6 years ago)
Author:
robe

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3975, comment 5

    initial v1  
    88My thought is on install or upgrade of PostGIS, we can have our code set a guc variable to @extschema@.
    99
    10 Then if that guc variable is set, our SPI queries will use the GUC variable
     10Then if that guc variable is set, our SPI queries will use the GUC variable.
     11
     12To accomodate those that don't use extensions, we could have our create / upgrade script read the current_schema instead of @extschema@.  Regardless whether PostGIS is installed via extensions or scripts, the current schema is where PostGIS is installed.