Failure to create GiST on ltree column

From: Victor Yegorov <vyegorov(at)gmail(dot)com>
To: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Failure to create GiST on ltree column
Date: 2020-05-24 18:30:15
Message-ID: CAGnEboi=kL2g9xG-McOEZEG25J5aTPYZ5=_A-tcg-8g=TszJ4Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greetings.

I am getting random failures in `CREATE INDEX USING gist` over ltree column
while performing pg_restore.
I get either
ERROR: stack depth limit exceeded
or
ERROR: failed to add item to index page

Thing is — if I retry index creation manually, I get it successfully built
in ~50% of the cases.

I would like to find out what's the real cause here, but I am not sure how
to do it.
If anybody could provide some guidance, I am open to investigate this case.

I'm on PostgreSQL 11.8 (Debian 11.8-1.pgdg90+1), debugging symbols
installed.

--
Victor Yegorov

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2020-05-24 18:34:30 Re: [PATCH] Keeps tracking the uniqueness with UniqueKey
Previous Message David Rowley 2020-05-24 18:17:34 Re: Parallel Seq Scan vs kernel read ahead