Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#54118 closed enhancement (fixed)

postgis2: Keep more old versions of postgresql9*

Reported by: JDLH (Jim DeLaHunt) Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: postgis2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Postgis2 has variants of form +postgresql96 to target the installed PostGIS extension to the desired version of PostgreSQL. Mac Ports offers versions of PostgreSQL from 9.0 to 9.6.

Postgis2, Commit 03c7f22, Oct 25, 2016, removed the variants postgresql93 and postgresql94 because the are "obsolete PGsql versions". I don't see a comment in the commit or in a ticket that the current version of PostGIS2 does not work with these versions of PostGreSQL, just that they are obsolete.

It turns out I'm working on a project now which uses PostgreSQL 9.4 as its primary version. They are only beginning to experiment with PostgreSQL 9.6. Thus I'd suggest that 9.4 is not yet "obsolete" for this shop. Even 9.3 may be in use somewhere.

I'd like to suggest that the postgresql94 variant be restored. I'd even suggest restoring postgresql93, though that isn't so important for my current need.

Workaround: follow the instructions in the MacPorts HOWTO "Installing Older Port" to build commit 21a176a, and install that with sudo port install +postgresql94 +raster +topology.

Change History (7)

comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: vince@… removed
Description: modified (diff)
Owner: set to Veence
Status: newassigned
Summary: Keep more old versions of postgresql9* in postgis2postgis2: Keep more old versions of postgresql9*
Type: defectenhancement

comment:2 Changed 6 years ago by Veence (Vincent)

Resolution: fixed
Status: assignedclosed

Postgis can now build with postgresql 9.5/9.6 or 10. Hope that helps.

comment:3 Changed 6 years ago by JDLH (Jim DeLaHunt)

It looks like the change was to add support for Postgresl 10 when building Postgis2. That's great for Postgresql 10 users. Unfortunately, that's not responsive to this enhancement request, which was to restore support for Postgresql 9.4 and maybe Postgresql 9.3. I request re-opening this request until there is a response (either "yes" or "no") to the matter of restoring 9.4 and 9.3 support.

comment:4 Changed 6 years ago by Veence (Vincent)

In 3603370ca106ed99aee16937a2d7a2e6dc3abc5c/macports-ports:

postgis2: restore PostgreSQL 9.3 and 9.4 support
Should fix: #54118

comment:5 Changed 6 years ago by Veence (Vincent)

Should be fixed, try it and reopen if necessary! Sorry for the delay!

comment:6 Changed 6 years ago by JDLH (Jim DeLaHunt)

How long does it take the fix to propagate. Just now, in my local Mac, I saw:

% sudo port selfupdate
% port info postgis2  
postgis2 @2.4.2 (databases, gis)
Variants:             comments, gui, [+]postgresql10, postgresql95, postgresql96, [+]raster, sfcgal, [+]topology, universal
....

Note the absence of variants postgresql94, postgresql93.

comment:7 Changed 6 years ago by Veence (Vincent)

Difficult to say. It can take awhile, since the buildbot is busy with some other ports, and I’m not sure the changes are propagated before they get a chance to be automatically built

Note: See TracTickets for help on using tickets.