Re: request a new feature in fuzzystrmatch

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: dawninghu(at)gmail(dot)com, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, David Fetter <david(at)fetter(dot)org>, Cédric Villemain <cedric(at)2ndquadrant(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Atri Sharma <atri(dot)jiit(at)gmail(dot)com>
Subject: Re: request a new feature in fuzzystrmatch
Date: 2013-06-30 02:55:16
Message-ID: CAB7nPqSfPyVYuRjKQ=YXg_FMW6DVjtjFOSBwMv-8c8FvG1Z+6g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-www

On Sun, Jun 30, 2013 at 5:37 AM, Joe Conway <mail(at)joeconway(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2013-06-30 03:55:51 checksum_impl.h fails cpluspluscheck
Previous Message Stephen Frost 2013-06-30 00:25:47 Re: New regression test time

Browse pgsql-www by date

  From Date Subject
Next Message Alvaro Herrera 2013-07-01 15:09:32 Re: request a new feature in fuzzystrmatch
Previous Message Liming Hu 2013-06-29 21:17:12 Re: request a new feature in fuzzystrmatch