Re: ERROR: failed to add item to the index page - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ERROR: failed to add item to the index page
Date
Msg-id 26051.1556631796@sss.pgh.pa.us
Whole thread Raw
In response to ERROR: failed to add item to the index page  (Andreas Joseph Krogh <andreas@visena.com>)
Responses Sv: Re: ERROR: failed to add item to the index page
List pgsql-hackers
Andreas Joseph Krogh <andreas@visena.com> writes:
> With master (3dbb317d32f4f084ef7badaed8ef36f5c9b85fe6) I'm getting this: 
> visena=# CREATE INDEX origo_email_part_hdrvl_value_idx ON 
> public.origo_email_part_headervalue USING btree 
> (lower(substr((header_value)::text, 0, 1000)) varchar_pattern_ops);
>  psql: ERROR: failed to add item to the index page

Hm, your example works for me on HEAD.

Usually, the first thing to suspect when you're tracking HEAD and get
bizarre failures is that you have a messed-up build.  Before spending
any time diagnosing more carefully, do "make distclean", reconfigure,
rebuild, reinstall, then see if problem is still there.

(In theory, you can avoid this sort of failure with appropriate use
of --enable-depend, but personally I don't trust that too much.
I find that with ccache + autoconf cache + parallel build, rebuilding
completely is fast enough that it's something I just do routinely
after any git pull.  I'd rather use up my remaining brain cells on
other kinds of problems...)

            regards, tom lane



pgsql-hackers by date:

Previous
From: Michael Banck
Date:
Subject: Re: [Patch] Base backups and random or zero pageheaders
Next
From: Fabien COELHO
Date:
Subject: Re: [PATCH v4] Add \warn to psql