Re: pg_proc.dat "proargmodes is not a 1-D char array"
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Craig Ringer <craig@2ndquadrant.com>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2020-11-17T15:31:53Z
Lists: 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
Commits
-
Make some sanity-check elogs more verbose
- fe051291550a 14.0 landed