Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fMlM2-0002BR-Og for pgsql-general@arkaria.postgresql.org; Sun, 27 May 2018 02:24:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fMlLy-0000GU-Fd for pgsql-general@arkaria.postgresql.org; Sun, 27 May 2018 02:24:14 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1fMlLy-0000GK-2N for pgsql-general@lists.postgresql.org; Sun, 27 May 2018 02:24:14 +0000 Received: from mail-it0-x235.google.com ([2607:f8b0:4001:c0b::235]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fMlLq-0006a2-Dp for pgsql-general@postgresql.org; Sun, 27 May 2018 02:24:13 +0000 Received: by mail-it0-x235.google.com with SMTP id d10-v6so11169528itj.1 for ; Sat, 26 May 2018 19:24:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=eaFwauIn7A89tme+qkrtxOzs4xR2sEtCXt03ZFSMsdc=; b=o8KSmV1FXSbVB98cByqzqS618h7qpst6PSVSAd9cq04miBPOrqmFKRl/dcpKORLZK7 IIShGWVkEJ+gwjffHyoPEAj8/dbyn3XU1G6WdVHgkFWzRSEey9r9oObZptC0BKplsUe1 B2swM97XXjV95JC5mr80WGUd+glb0qsqQka9BEA4WaAROYQEs9/6806tXjWFITE62mEP /QEATqC8WgvhetK/kNnSYTytRLigjUq1OJNw+nUI5oWE4Yb8dg26WlBMLVjje14/fdop /puawHBLBcZKxryGmoi3i2aWFdiYZtusnMad+1XsKF7Yam6fyI90OI2H4TVoB66DghNn YiiA== 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:subject:message-id:mime-version :content-disposition:user-agent; bh=eaFwauIn7A89tme+qkrtxOzs4xR2sEtCXt03ZFSMsdc=; b=ojjWqLlzILCDEDdJCwgnQrsDJ6Jgz8MBgh0+Du+Xan0l1ThyMbeJVMSU5yNamfGmgP q4L3NudSoeVwLzkSZGfPzbyIDUOCq67TBTNyIW2JCyWF4C0PQlCvP0uobBwAhVY26DBW pVQ3MZ1y/N+gy96S0Tr7L9pTq0bCw1gW8tjWr/6TU1QSqh3CUw3bPquZE754DQbqN1Of vLmB8gFbqZwEmiH2NdicnkNkD+nVJlwC+eEQOKu3tDtV8o6CpaQsbJ156ToJQM35bdxo aP7Fkz/FZeoSPE679O61cUfT0dMaLHfsvoJ3SLO7VI61B0FK3ZBgmjLn4YPVxVOhTzNK yHxg== X-Gm-Message-State: ALKqPwfKDjiPnrlxSopPPBiekM2AEewKXcbFTbdy7l/pz7f582pD94+l f6zm7bkYKmiSxwFyyE5uF/bUsVbU9lg= X-Google-Smtp-Source: ADUXVKLhQRI/OOH7yXeiwBP/pEsCtoZ6E9w8aSp28Ba3M4Wrkl0OMjaWiomBVTU9N/Ww28a9YxTBuw== X-Received: by 2002:a24:6214:: with SMTP id d20-v6mr6595044itc.12.1527387843484; Sat, 26 May 2018 19:24:03 -0700 (PDT) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id x21-v6sm14826310iod.7.2018.05.26.19.24.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 May 2018 19:24:03 -0700 (PDT) Received: by pryzbyj (Postfix, from userid 1000) id C27D08019C8; Sat, 26 May 2018 21:24:01 -0500 (CDT) Date: Sat, 26 May 2018 21:24:01 -0500 From: Justin Pryzby To: pgsql-general@postgresql.org Subject: \d t: ERROR: XX000: cache lookup failed for relation Message-ID: <20180527022401.GA20949@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Is that considered an actionable problem? Encountered while trying to reproduce the vacuum full pg_statistic/toast_2619 bug; while running a loop around VAC FULL and more in another session: [1]- Running { time sh -ec 'while :; do psql --port 5678 postgres -qc "VACUUM FULL pg_toast.pg_toast_2619"; psql --port 5678 postgres -qc "VACUUM FULL pg_statistic"; done'; date; } & [2]+ Running time while :; do psql postgres --port 5678 -c "INSERT INTO t SELECT i FROM generate_series(1,999999) i"; sleep 1; for a in `seq 999`; do psql postgres --port 5678 -c "ALTER TABLE t ALTER i TYPE int USING i::int"; sleep 1; psql postgres --port 5678 -c "ALTER TABLE t ALTER i TYPE bigint"; sleep 1; done; psql postgres --port 5678 -c "TRUNCATE t"; sleep 1; done & [pryzbyj@kgfs66telsadb ~]$ psql --port 5678 postgres -x psql (11beta1) Type "help" for help. ... postgres=# \set VERBOSITY verbose postgres=# \d t ERROR: XX000: cache lookup failed for relation 8096742 LOCATION: flatten_reloptions, ruleutils.c:11065 Justin