Re: pg_proc.dat "proargmodes is not a 1-D char array"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_proc.dat "proargmodes is not a 1-D char array"
Дата
Msg-id 916698.1605627113@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_proc.dat "proargmodes is not a 1-D char array"  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: pg_proc.dat "proargmodes is not a 1-D char array"
Список pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> Perhaps we can improve these error messages like below.  (Or maybe just
> keep it one message "proargmodes is not a 1-D char array of %d
> elements"?)  There are about 5 places to change I think.

I doubt that it's really worth expending more code on this.
Certainly I see no reason why that particular test is more likely
to fail than the others, in the presence of corrupt data --- and
I don't want to add individual elog's for each one.

Adding the expected length to the error message might be OK though.

            regards, tom lane



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

Предыдущее
От: Victor Yegorov
Дата:
Сообщение: Re: Deleting older versions in unique indexes to avoid page splits
Следующее
От: Dean Rasheed
Дата:
Сообщение: Re: Additional improvements to extended statistics