Re: Review for pg_dump: Sort overloaded functions in deterministic order

Поиск
Список
Период
Сортировка
От Joel Jacobson
Тема Re: Review for pg_dump: Sort overloaded functions in deterministic order
Дата
Msg-id CAASwCXcHgEoM7CiOahL54GEMDpyuUU81nEOpXdCdn60_+UZ5VA@mail.gmail.com
обсуждение исходный текст
Ответ на Review for pg_dump: Sort overloaded functions in deterministic order  (Joachim Wieland <joe@mcknight.de>)
Ответы Re: Review for pg_dump: Sort overloaded functions in deterministic order
Список pgsql-hackers
Hi Joachim,

Attached, please find new patch. Test unchanged.

Best regards,

Joel

> Patch looks good, all concerns that had been raised previously have
> been addressed in this version of the patch.
>
> The only thing that IMO needs to change is a stylistic issue:
>
> if (fout->remoteVersion >= 80200)
> {
>     [...]
>     (fout->remoteVersion >= 80400) ?
> "pg_catalog.pg_get_function_identity_arguments(oid)" : "NULL::text",
>     [...]
> }
>
> Please just create a whole new
>
> if (fout->remoteVersion >= 80400)
> {
>    [...]
> }
>
> here.
>
> Other than that, the feature works as advertised and does not
> negatively affect runtime or memory consumption (the new field is only
> added to functions / aggregates).
>
> Please send a new version of the patch that changes the above
> mentioned item, the patch also needs rebasing (off by a couple of
> lines).

Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] pg_upgrade not detecting version properly
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: change in LOCK behavior