populate_geometry_columns does not work on foreign tables
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
Change History
(11)
Owner: |
changed from pramsey to robe
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Resolution: |
fixed
|
Status: |
closed → reopened
|
Priority: |
medium → blocker
|
Milestone: |
PostGIS 2.2.1 → PostGIS 2.3.0
|
Milestone: |
PostGIS 2.3.0 → PostGIS Future
|
Priority: |
blocker → medium
|
Milestone: |
PostGIS Future → PostGIS Fund Me
|
(In [14288]) addresses #3340 for 2.3 support for foreign tables in populate_geometry_columns