From: | Vladimir Ryabtsev <greatvovan(at)gmail(dot)com> |
---|---|
To: | Peter Geoghegan <pg(at)bowt(dot)ie> |
Cc: | PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org> |
Subject: | Re: |
Date: | 2019-09-25 00:27:40 |
Message-ID: | CAMqTPq=KcrkzYqQCcMvry_sm+w7ms8TsyRqc1n5hujWTpgRKSA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Peter, thank you for you response.
bt_index_check() shows this:
ERROR: item order invariant violated for index "vocabulary_phrase_key"
DETAIL: Lower index tid=(29915,116) (points to index tid=(97262,1)) higher
index tid=(29915,117) (points to index tid=(118496,1)) page
lsn=5A8/6AA20EC8.
SQL state: XX002
--
Vladimir
вт, 24 сент. 2019 г. в 14:04, Peter Geoghegan <pg(at)bowt(dot)ie>:
>
> On Tue, Sep 24, 2019 at 1:55 PM Vladimir Ryabtsev <greatvovan(at)gmail(dot)com>
wrote:
> I would try running contrib/amcheck, which should be able to confirm
> index corruption, and give you a specific complaint. You may then be
> able to inspect the exact index page with the problem using
> contrib/pageinspect. Something like this ought to do it on Postgres
> 10:
>
> CREATE EXTENSION IF NOT EXISTS amcheck
> SELECT bt_index_check('vocabulary_phrase_key');
>
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Geoghegan | 2019-09-25 00:35:08 | Re: |
Previous Message | Alfred R. Fuller | 2019-09-24 21:50:54 | Re: Bug with "CHECK" when part of ALTER TABLE ... ADD COLUMN IF NOT EXISTS ... CHECK ... |