From: craig at 2ndquadrant.com (Craig Ringer) Date: Tue, 02 Dec 2014 10:54:08 +0800 Subject: [Pljava-dev] pljava portable between postgres minor versions? In-Reply-To: <1417487840893-5828859.post@n5.nabble.com> References: <1417487840893-5828859.post@n5.nabble.com> Message-ID: <547D29D0.5080009@2ndquadrant.com> 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