[postgis-tickets] [PostGIS] #5125: Creating both topology and tiger extension in same session contend search_path

PostGIS trac at osgeo.org
Fri Apr 8 01:57:38 PDT 2022


#5125: Creating both topology and tiger extension in same session contend
search_path
------------------------------------+---------------------------
  Reporter:  strk                   |      Owner:  strk
      Type:  defect                 |     Status:  new
  Priority:  medium                 |  Milestone:  PostGIS 3.3.0
 Component:  build/upgrade/install  |    Version:  master
Resolution:                         |   Keywords:
------------------------------------+---------------------------

Comment (by strk):

 Thanks to Myon on IRC I now know we could use this:
 {{{
 select setconfig[1]
 from pg_catalog.pg_db_role_setting
 where
  setdatabase = (select oid from pg_database where datname =
 current_database() )
  and setrole = 0;
 }}}

 The above query will give the last value set via ALTER DATABASE w/out the
 need of reconnecting.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5125#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list