pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feeda error happends when create a table in postgresql10.ubuntu 18.04
2+ messages / 2 participants
[nested] [flat]
* a error happends when create a table in postgresql10.ubuntu 18.04
@ 2019-10-31 08:12 ????? <474416133@qq.com>
0 siblings, 1 reply; 2+ messages in thread
From: ????? @ 2019-10-31 08:12 UTC (permalink / raw)
To: pgsql-bugs
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
use jar driver to operation(create table ...) hint a error code 58P01
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: a error happends when create a table in postgresql10.ubuntu 18.04
@ 2019-10-31 14:41 Tomas Vondra <tomas.vondra@2ndquadrant.com>
parent: ????? <474416133@qq.com>
0 siblings, 0 replies; 2+ messages in thread
From: Tomas Vondra @ 2019-10-31 14:41 UTC (permalink / raw)
To: ????? <474416133@qq.com>; +Cc: 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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2019-10-31 14:41 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-10-31 08:12 a error happends when create a table in postgresql10.ubuntu 18.04 ????? <474416133@qq.com>
2019-10-31 14:41 ` Tomas Vondra <tomas.vondra@2ndquadrant.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox