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

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_proc.dat "proargmodes is not a 1-D char array"
Date: 2020-09-30 02:57:02
Message-ID: CAMsr+YH7Kd87A3cU5m_wKo46HPQ46zFv5wesFNL0YWxkGhGv3g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2020-09-30 02:58:56 Re: NOTIFY docs fixup - emit and deliver consistency
Previous Message David G. Johnston 2020-09-30 02:52:47 Document JSON primitive quoting and letter-case rules