#4231 closed defect (fixed)
PostGIS can't build with PostgreSQL v12devel because "pg_constraint.consrc" has been removed
Reported by: | Laurenz Albe | Owned by: | robe |
---|---|---|---|
Priority: | blocker | Milestone: | PostGIS 2.5.2 |
Component: | postgis | Version: | 2.5.x -- EOL |
Keywords: | Cc: |
Description
PostgreSQL v12 has removed the pg_constraint.consrc
column in commit 96b00c43.
The recommendation is to use pg_get_constraintdef instead.
Now PostGIS relies pretty heavily on this column, so it won't work with PostgreSQL v12 any more.
I can try and come up with a fix, but it is not a 5 minute affair, and I will habe little time in the near future, so I thought I'd better alert you.
Change History (11)
comment:1 by , 6 years ago
Owner: | changed from | to
---|---|
Priority: | medium → blocker |
comment:2 by , 6 years ago
It looks like we might be able to backport it as this was something we should have stopped using a while ago evidentally.
comment:3 by , 6 years ago
Milestone: | PostGIS 3.0.0 → PostGIS 2.5.2 |
---|---|
Version: | trunk → 2.5.x |
comment:9 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Laurenz thanks for the ticket and commit that broke it.
I'll work on a patch for this. It did hit a lot of pieces in our code base.
Much appreciated.