pg_proc.dat "proargmodes is not a 1-D char array"
Craig Ringer <craig@2ndquadrant.com>
From: Craig Ringer <craig@2ndquadrant.com>
To: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2020-09-30T02:57:02Z
Lists: pgsql-hackers
Hi all
Random tip for future searchers. If you've modified pg_proc.dat and initdb
fails with "proargmodes is not a 1-D char array" - it could well actually
be that the length of proargmodes does not match the length of
proallargtypes given the test
ARR_DIMS(arr)[0] != numargs ||
in funcapi.c.
--
Craig Ringer http://www.2ndQuadrant.com/
2ndQuadrant - PostgreSQL Solutions for the Enterprise
Commits
-
Make some sanity-check elogs more verbose
- fe051291550a 14.0 landed