pg_proc.dat "proargmodes is not a 1-D char array" - Mailing list pgsql-hackers

From Craig Ringer
Subject pg_proc.dat "proargmodes is not a 1-D char array"
Date
Msg-id CAMsr+YH7Kd87A3cU5m_wKo46HPQ46zFv5wesFNL0YWxkGhGv3g@mail.gmail.com
Whole thread Raw
Responses Re: pg_proc.dat "proargmodes is not a 1-D char array"  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List 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

pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Document JSON primitive quoting and letter-case rules
Next
From: Tom Lane
Date:
Subject: Re: NOTIFY docs fixup - emit and deliver consistency