Re: Extension security improvement: Add support for extensions with an owned schema

Поиск
Список
Период
Сортировка
От Jelte Fennema-Nio
Тема Re: Extension security improvement: Add support for extensions with an owned schema
Дата
Msg-id CAGECzQTOJrnnJkmMe9nems0jouiKUbFcEb1rb9kE_svsAZiGQg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Extension security improvement: Add support for extensions with an owned schema  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-hackers
On Wed, 19 Jun 2024 at 17:22, David G. Johnston
<david.g.johnston@gmail.com> wrote:
>
> On Wed, Jun 19, 2024 at 8:19 AM Jelte Fennema-Nio <me@jeltef.nl> wrote:
>
>>
>> Because part of it would
>> only be relevant once we support upgrading from PG18. So for now the
>> upgrade_code I haven't actually run.
>
>
> Does it apply against v16?  If so, branch off there, apply it, then upgrade from the v16 branch to master.


I realized it's possible to do an "upgrade" with pg_upgrade from v17
to v17. So I was able to test both the pre and post PG18 upgrade logic
manually by changing the version in this line:

if (fout->remoteVersion >= 180000)

As expected the new pg_upgrade code was severely broken. Attached is a
new patch where the pg_upgrade code now actually works.

Вложения

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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: What is a typical precision of gettimeofday()?
Следующее
От: Ranier Vilela
Дата:
Сообщение: Re: confusing valgrind report about tuplestore+wrapper_handler (?) on 32-bit arm