Re: request a new feature in fuzzystrmatch - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: request a new feature in fuzzystrmatch
Date
Msg-id CAB7nPqSfPyVYuRjKQ=YXg_FMW6DVjtjFOSBwMv-8c8FvG1Z+6g@mail.gmail.com
Whole thread Raw
In response to Re: request a new feature in fuzzystrmatch  (Joe Conway <mail@joeconway.com>)
Responses Re: request a new feature in fuzzystrmatch  (Liming Hu <dawninghu@gmail.com>)
List pgsql-hackers
On Sun, Jun 30, 2013 at 5:37 AM, Joe Conway <mail@joeconway.com> wrote:
> Actually, given that this change will create version 1.1 of the
> extension, I believe the 1.0 versions of the sql scripts should
> probably be removed entirely. Can someone with more knowledge of the
> extension facility comment on that?
When upgrading this extension here is what you should do:
- Remove fuzzystrmatch--1.0.sql
- Add fuzzystrmatch--1.1.sql with the new definitions
- Add fuzzystrmatch--1.0--1.1.sql to be able to perform an upgrade
between 1.0 and 1.1
- Let fuzzystrmatch--unpackaged--1.0.sql as-is

Then by having a quick glance at the patch you sent...
- fuzzystrmatch--unpackaged--1.0.sql is renamed internally to 1.1.sql
- fuzzystrmatch--1.0.sql remains, and is renamed to 1.1 internally
- fuzzystrmatch--1.0--1.1.sql is not provided

Regards,
--
Michael



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: New regression test time
Next
From: Peter Eisentraut
Date:
Subject: checksum_impl.h fails cpluspluscheck