Re: Failure to create GiST on ltree column

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: Victor Yegorov <vyegorov(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Failure to create GiST on ltree column
Date: 2020-05-25 15:25:45
Message-ID: 20200525152545.GT4472@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, May 25, 2020 at 04:41:49PM +0300, Victor Yegorov wrote:
> New index to be created:
> CREATE INDEX i_mp_comments_mpath_gist ON comments.mp_comments USING gist (mpath);

I wonder if/how that fails if you create the index before adding data:

CREATE TABLE test_path(path ltree);
CREATE INDEX ON test_path USING GIST(path);
INSERT INTO test_path SELECT * FROM comments.mp_comments;

Does that fail on a particular row ?

How many paths do you have and how long? How big is the table?

--
Justin

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jonathan S. Katz 2020-05-25 15:57:19 Re: password_encryption default
Previous Message Erik Rijkers 2020-05-25 15:18:49 Re: PATCH: logical_work_mem and logical streaming of large in-progress transactions