[postgis-tickets] [PostGIS] #3340: populate_geometry_columns does not work on foreign tables

PostGIS trac at osgeo.org
Sun Oct 18 19:40:39 PDT 2015


#3340: populate_geometry_columns does not work on foreign tables
---------------------+---------------------------
 Reporter:  robe     |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 2.2.1
Component:  postgis  |    Version:  2.2.x
 Keywords:           |
---------------------+---------------------------
 I was playing around with 9.5 trying to get my foreign tiger tables to
 inherit from my local tiger schema and ran into an issue that when you set
 a foreign table to inherit from a local one, it doesn't add on the
 constraints and fails because the foreign table came in with no
 constraints.

 Anyway I thought I could solve this by using


 {{{
 SELECT populate_geometry_columns(false);
 }}}

 Nope - our populate_geometry_columns has never heard of foreign tables and
 just skips over them.  I'm testing out my patch before I commit, but would
 like to get it in for 2.2.1

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3340>
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