Skip to content

pg_tables system table: tableowner column is incorrect #2146

@emarsden

Description

@emarsden
pgeltestdb=> select current_user();
      "current_user"       
---------------------------
 pgeltestuser@192.168.1.48
pgeltestdb=> create table foobles(a integer);
CREATE TABLE
pgeltestdb=> select tableowner from pg_catalog.pg_tables where tablename='foobles';
 tableowner 
------------
 postgres
(1 ligne)

Expecting the current user, "pgeltestuser".

Using the current Docker image, which reports version() as "PostgreSQL 15.5".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions