Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iQBdf-0003ET-W2 for pgsql-bugs@arkaria.postgresql.org; Thu, 31 Oct 2019 14:41:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iQBde-0005Zg-Kb for pgsql-bugs@arkaria.postgresql.org; Thu, 31 Oct 2019 14:41:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iQBde-0005Y0-7a for pgsql-bugs@lists.postgresql.org; Thu, 31 Oct 2019 14:41:26 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iQBda-0003IM-Nz for pgsql-bugs@postgresql.org; Thu, 31 Oct 2019 14:41:25 +0000 Received: by mail-wr1-x444.google.com with SMTP id p4so6510966wrm.8 for ; Thu, 31 Oct 2019 07:41:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=Ts364UDdC9HbIbDgS5u1qrtApuvt1kgcQjhy67B4IO0=; b=1ZtD0f/2YrOM88WX5/sxW0cBBWAtHD8oNqszf5JeFtqyGr4OEtf+fsd+ds3jpysyhe YQr2zmS46OeWcR9+IDSkdSI5Eq7Fh9yMSn1aitRdVqMrGSJ14+3+qYpimIYRDNcq08Ib n9b69owmvQJRoGyK7xgEA3avZKKe2NIRIX+gp1qurYWdLcrJxjyoCE1ukL+mOkMaFo28 41gFMT0OVPYyNYqCtXaOa6+XComVCzKgA7Tv5WAWSwL90hF7juZGvG+5E8ydEJv7r4sk b+abVx8YzEYkEspmScMGKqmA4Vl6Z6MZh581hDacdZ7GQdWjC+I1SRAk/fqbojjoF//3 I24Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=Ts364UDdC9HbIbDgS5u1qrtApuvt1kgcQjhy67B4IO0=; b=YGCIk6dws7d+WKv8dTjFQtxPTHZICCZkc4FDWRcX/1jDFT0fVwCZyxZ7Et1e44KDWY KnyrufQR4pVhjYW7+VvN+SI33uKHcYjJ3IoepAKbvX1rG0wyNG7qAEmrDCJIi6LuAW8v ga6CWws/TOsFtIDMxr/hk9DC4fhIFQjIfJQbMobVSAfS0U+RJnpw/+0Mz+UOMygACFrz 6YG2Bmr95GebwdEKQ9QKeFCeKtCDLIzzNZEE5SJ3UOW+ctGyGsiUZptdrrMmE4MdyJWH yKHEvREPHEIuhAwHkpDdmAO3X+gg8ziZH2tRv7QO8hayh/h5jtwi5/z3DlrLJzqpO2Rh LVPA== X-Gm-Message-State: APjAAAUQjfA7qiDw2lP4VHDB3op3en2wF0JxU5mgBliZ8PrHsRSAaV1O Jhd1EU8MB5QDrrJnKZANcS4rzQ== X-Google-Smtp-Source: APXvYqwcJTcukSWO+Irwsm+ef77KhJ/Bp+62OCMYNSe5u6YhZodjs5602qxMxd9Gylo1wEzbegAuKg== X-Received: by 2002:a5d:6747:: with SMTP id l7mr5820045wrw.328.1572532881804; Thu, 31 Oct 2019 07:41:21 -0700 (PDT) Received: from localhost (static-84-42-175-93.net.upcbroadband.cz. [84.42.175.93]) by smtp.gmail.com with ESMTPSA id o18sm4716856wrm.11.2019.10.31.07.41.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Oct 2019 07:41:21 -0700 (PDT) Date: Thu, 31 Oct 2019 15:41:19 +0100 From: Tomas Vondra To: ????? <474416133@qq.com> Cc: pgsql-bugs Subject: Re: a error happends when create a table in postgresql10.ubuntu 18.04 Message-ID: <20191031144119.kctc46tw5rif5lqy@development> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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