pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: mrechte@gmail.com
Subject: BUG #16670: pgstattuple ERROR:  relation "sql_implementation_info" does not exist
Date: Wed, 14 Oct 2020 12:58:02 +0000
Message-ID: <16670-4aa3d62f20dd7754@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      16670
Logged by:          Marc Rechté
Email address:      mrechte@gmail.com
PostgreSQL version: 13.0
Operating system:   CentOS8
Description:        

Hello,

I get an error with pgstattuple extension.

On PG13.0:
# select tablename,
(pgstattuple_approx(tablename::regclass)).approx_free_space from pg_tables
where schemaname = 'public'  and
(pgstattuple_approx(tablename::regclass)).approx_free_percent > 10;
ERROR:  relation "sql_implementation_info" does not exist

On PG12.3:
# select tablename,
(pgstattuple_approx(tablename::regclass)).approx_free_space from pg_tables
where schemaname = 'public'  and
(pgstattuple_approx(tablename::regclass)).approx_free_percent > 10;
ERROR:  relation "sql_packages" does not exist

Note that the where clause on approx_free_percent is the error cause.

Thanks



view thread (2+ messages)  latest in thread

Message-ID: <16670-4aa3d62f20dd7754@postgresql.org>
Permalink:  ../16670-4aa3d62f20dd7754@postgresql.org/
Also on:    postgresql.org/message-id/16670-4aa3d62f20dd7754@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, mrechte@gmail.com
  Subject: Re: BUG #16670: pgstattuple ERROR:  relation "sql_implementation_info" does not exist
  In-Reply-To: <16670-4aa3d62f20dd7754@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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