Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#3775 closed defect (fixed)

Extension upgrade scripts keep growing on every new `make` invocation

Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS 2.4.0
Component: build/upgrade/install Version: trunk
Keywords: Cc:

Description

At some point I had 35 CREATE OR REPLACE lines for ST_Curve. It's just that I don't usually make clean before running make again, after changes. This results in extension scripts growing and growing, as the postgis_upgrade.sql script simply gets appended to them...

Crazy stuff.

This was in trunk (2.4.0dev) - hadn't tested in other branches.

Change History (2)

comment:1 Changed 2 years ago by strk

Resolution: fixed
Status: newclosed

In 15435:

Avoid ever-growing postgis extension upgrade scripts

Fixes #3775

comment:2 Changed 2 years ago by strk

In 15437:

Avoid ever-growing postgis extension upgrade scripts

Fixes #3775 for 2.3 branch

Note: See TracTickets for help on using tickets.