[postgis-devel] PostGIS 2.3 build not honouring pg_config flags

Pavan Deolasee pavan.deolasee at gmail.com
Wed Jul 11 02:29:32 PDT 2018


Hi Darafei,

Thanks for the input.

On Wed, Jul 11, 2018 at 2:31 PM, Darafei "Komяpa" Praliaskouski <
me at komzpa.net> wrote:

>
>
> In first message you said you're building 2.3.1.
> There were 56 bugs fixed since that, and current version on 2.3 branch is
> 2.3.7.
> <https://svn.osgeo.org/postgis/tags/2.3.7/NEWS>
> https://svn.osgeo.org/postgis/tags/2.3.7/NEWS
>

Yes, I am aware. Our XL customer is reporting these issues as they try to
port their application from vanilla Postgres to XL and they are running
2.3.1. So that's my motivation to use that version. But as I said, this
affects 2.3.7 too.


>
> The issue you bumped into seemed to bother nobody until Postgres
> introduced JIT, that's why the fix was considered a new feature and not
> backpatched. I think it's possible to backpatch it and sometime later
> release as 2.3.8.
>

I understand, though it sounds a bit odd to me. Since nobody reported this
before, most likely PostGIS is not affected by compile time changes in
PostgreSQL, but TBH I don't know how to prove or disprove that. In general,
it's a good idea for extensions to inherit PG's compilation flags.

In fact, even before our customer reported a failure, it took me a while to
figure out why PostGIS is not honouring my debug flags because I always
build my PG sources (and other extensions) with those flags. I'd to
separately pass debug flags while building PostGIS to get the debug info.


> Given that you essentially try to build a support for new platform, maybe
> it's worth that you upgrade your minimum to 2.5 and we all try to make sure
> your issues are resolved there? :)
>
>
Yeah, sure. I will check with the customer and see if they are willing to
upgrade to 2.5. XL's stable release is currently based on 9.5, but 2.5
seems to support 9.5, so that should not be a blocker.

Thanks,
Pavan

-- 
 Pavan Deolasee                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20180711/11b73808/attachment-0001.html>


More information about the postgis-devel mailing list