[Pljava-dev] pljava portable between postgres minor versions?

Lists: PostgreSQL : PostgreSQL 메일 링리스트 : 2014-12-02 이후 토토 베이 02:54
From: rickjackson001 at gmail(dot)com (akshunj)
To:
Subject: [Pljava-dev] pljava portable between postgres minor versions?
Date: 2014-12-02 02:37:20
Message-ID: 1417487840893-5828859.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pljava-dev

Hi, just curious if it's best practice to build pljava every time the version
changes? For example, if I built against 9.1.8 and now 9.1.14 is out, should
I build it from source against the new release or is it safe to reuse what I
built against the previous version? Seems to work OK, but it crossed my
mind. Thx.

--
View this message in context: http://postgresql.nabble.com/pljava-portable-between-postgres-minor-versions-tp5828859.html
Sent from the PL/Java mailing list archive at Nabble.com.


From: craig at 2ndquadrant(dot)com (Craig Ringer)
To:
Subject: [Pljava-dev] pljava portable between postgres minor versions?
Date: 2014-12-02 02:54:08
Message-ID: 547D29D0.5080009@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: PostgreSQL : PostgreSQL 메일 링리스트 : 2014-12-02 이후 토토 베이 02:54

On 12/02/2014 10:37 AM, akshunj wrote:
> Hi, just curious if it's best practice to build pljava every time the version
> changes? For example, if I built against 9.1.8 and now 9.1.14 is out, should
> I build it from source against the new release or is it safe to reuse what I
> built against the previous version? Seems to work OK, but it crossed my
> mind.

It is unusual, if not completely unheard of, for PostgreSQL's ABI to
change within a minor release.

So long as you use the same compiler and compiler options for the new
PostgreSQL build there should be no issues using extensions - including
PL/Java - compiled against an older PostgreSQL from the same major series.

--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


From: rickjackson001 at gmail(dot)com (akshunj)
To:
Subject: [Pljava-dev] pljava portable between postgres minor versions?
Date: 2014-12-02 13:45:19
Message-ID: 1417527919861-5828884.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pljava-dev

Good to know, thanks Craig!

--
View this message in context: http://postgresql.nabble.com/pljava-portable-between-postgres-minor-versions-tp5828859p5828884.html
Sent from the PL/Java mailing list archive at Nabble.com.