Re: Unify DLSUFFIX on Darwin

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Unify DLSUFFIX on Darwin
Дата
Msg-id c25ede4e-d1ad-5d0c-e2eb-a3752063c399@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Unify DLSUFFIX on Darwin  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 24.06.22 16:13, Tom Lane wrote:
> [ thinks for a bit... ]  Might be worth double-checking that pg_upgrade
> doesn't get confused in a cross-version upgrade.  A quick grep doesn't
> find that it refers to DLSUFFIX anywhere, but it definitely does pay
> attention to extensions' shared library names.

pg_upgrade just checks that it can "LOAD" whatever it finds in probin. 
So this will work if extensions use the recommended extension-free file 
names.  If they don't, they should get a clean failure.

If this becomes a problem in practice, we could make pg_dump 
automatically adjust the probin on upgrade from an old version.

I have committed this now.  We can see how it goes.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: [BUG] Logical replication failure "ERROR: could not map filenode "base/13237/442428" to relation OID" with catalog modifying txns
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Improve TAP tests of pg_upgrade for cross-version tests