Re: pg_upgrade --check fails to warn about abstime

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pg_upgrade --check fails to warn about abstime
Дата
Msg-id 202309221114.elojolugmsmv@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: pg_upgrade --check fails to warn about abstime  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_upgrade --check fails to warn about abstime  (Suraj Kharage <suraj.kharage@enterprisedb.com>)
Список pgsql-hackers
On 2023-Sep-21, Tom Lane wrote:

> Bruce Momjian <bruce@momjian.us> writes:

> > Wow, I never added code to pg_upgrade to check for that, and no one
> > complained either.
> 
> Yeah, so most people had indeed listened to warnings and moved away
> from those datatypes.  I'm inclined to think that adding code for this
> at this point is a bit of a waste of time.

The migrations from versions prior to 12 have not stopped yet, and I did
receive a complaint about it.  Because the change is so simple, I'm
inclined to patch it anyway, late though it is.

I decided to follow Tristan's advice to add the version number as a
parameter to the new function; this way, the knowledge of where was what
dropped is all in the callsite and none in the function.  It
looked a bit schizoid otherwise.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/
"Postgres is bloatware by design: it was built to house
 PhD theses." (Joey Hellerstein, SIGMOD annual conference 2002)

Вложения

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

Предыдущее
От: Amul Sul
Дата:
Сообщение: Re: Dump-restore loosing 'attnotnull' bit for DEFERRABLE PRIMARY KEY column(s).
Следующее
От: Dilip Kumar
Дата:
Сообщение: Re: logical decoding and replication of sequences, take 2