From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | James Coleman <jtc331(at)gmail(dot)com> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: PGXS testing upgrade paths |
Date: | 2020-09-21 16:01:12 |
Message-ID: | 952111.1600704072@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
James Coleman <jtc331(at)gmail(dot)com> writes:
> On Mon, Sep 21, 2020 at 11:36 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> The recommended way to deal with updates these days is to leave the
>> original extension script as-is and just write update scripts
>> (1.0--1.1, 1.1--1.2, etc). That way, application of the updates
>> is tested automatically every time you do CREATE EXTENSION.
> Ah, so just don't add a new 1.2 file, etc.
> That also implies not having more direct upgrade paths (e.g., 1.0--1.2)?
Right. Once the accumulation of cruft starts to impact install time
substantially, maybe you want to roll things up to a new base version.
But at least with the contrib modules we've found that it's seldom
worth the trouble.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tomas Vondra | 2020-09-21 16:36:59 | Re: Planner, check if can use consider HASH for groupings (src/backend/optimizer/plan/planner.c) |
Previous Message | James Coleman | 2020-09-21 15:42:18 | Re: PGXS testing upgrade paths |