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

From Alvaro Herrera
Subject Re: request a new feature in fuzzystrmatch
Date
Msg-id 20130701150932.GC3757@eldon.alvh.no-ip.org
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
List pgsql-hackers
Joe Conway escribió:

> 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?

Besides what Michael said, another thing is that you need to ensure that
if the functions are run with the 1.0 definitions, they don't crash
(i.e. you need to check the number of arguments actually passed to
function(s), and ensure no changes are made to the types of previously
existing arguments).  You can test this by installing the 1.0 version in
a 9.3 database, then pg_upgrade, and test the functions without running
the ALTER EXTENSION UPGRADE.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: checking variadic "any" argument in parser - should be array
Next
From: Antonin Houska
Date:
Subject: Shorter iterations of join_info_list