From: | Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com> |
---|---|
To: | ????? <474416133(at)qq(dot)com> |
Cc: | pgsql-bugs <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: a error happends when create a table in postgresql10.ubuntu 18.04 |
Date: | 2019-10-31 14:41:19 |
Message-ID: | 20191031144119.kctc46tw5rif5lqy@development |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Thu, Oct 31, 2019 at 04:12:28PM +0800, ????? wrote:
>OS: UBUNTU 18.04
>POSTGRESQL: 10
>STEP INSTANLL POSTGRESQL REF: https://www.postgresql.org/download/linux/ubuntu/
>THEN:
>
>- sudo -s
>- su postgres
>- psql
>- alter user postgres with password 'xxx';
>- create database xxx;
>- create table test ....
>error: 无法打开文件 "base/465796/827" hanpends
>
This seems like some sort of data corruption, because 827 is an index on
a system catalog, namely pg_default_acl_role_nsp_obj_index.
I don't have an Ubuntu system around, but I've tried on debian 9.6 and
it works just fine. I very much doubt Ubuntu is broken.
My guess the system lost the file for whatever reason (admin error,
filesystem bug, power-loss/crash, ...).
regards
--
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Sergei Kornilov | 2019-10-31 14:41:54 | Re: BUG #16092: json[b]_to_recordset and json[b]_populate_record do not read properties with mixed-case names |
Previous Message | PG Bug reporting form | 2019-10-31 14:29:06 | BUG #16092: json[b]_to_recordset and json[b]_populate_record do not read properties with mixed-case names |