Re: pg_upgrade --check fails to warn about abstime

Поиск
Список
Период
Сортировка
От Tristan Partin
Тема Re: pg_upgrade --check fails to warn about abstime
Дата
Msg-id CVNXKGJRAAWS.25S80HUEMM7II@neon.tech
обсуждение исходный текст
Ответ на pg_upgrade --check fails to warn about abstime  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: pg_upgrade --check fails to warn about abstime  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-hackers
> +/*
> + * check_for_removed_data_type_usage
> + *
> + *        similar to the above, but for types that were removed in 12.
> + */
> +static void
> +check_for_removed_data_type_usage(ClusterInfo *cluster, const char *datatype)

Seems like you could make this more generic instead of hardcoding
version 12, and then you could use it for any future removed types as
well.

Just a thought.

--
Tristan Partin
Neon (https://neon.tech)



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pg_upgrade --check fails to warn about abstime
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pg_upgrade --check fails to warn about abstime