pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Wen Yi <wen-yi@qq.com>
To: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: \d don't print all the tables
Date: Mon, 24 Jul 2023 10:25:12 +0800
Message-ID: <tencent_5ECEDFCD4F1AD945A3AE6835DE9400D22805@qq.com> (raw)

Hi community,
here's my shell:



postgres=# \d
Did not find any relations.
postgres=# create schema namespace_a;
CREATE SCHEMA
postgres=# create schema namespace_b;
CREATE SCHEMA
postgres=# create table simple (name varchar);
CREATE TABLE
postgres=# create table namespace_a.simple (name varchar);
CREATE TABLE
postgres=# create table namespace_b.simple (name varchar);
CREATE TABLE
postgres=# \d
         List of relations
 Schema |  Name  | Type  |  Owner   
--------+--------+-------+----------
 public | simple | table | postgres
(1 row)

postgres=# 


I think it should print the table on namespace_a & namespace_b, not just public, it really confused me.
Can someone give me some advice?



Yours,
Wen Yi.

view thread (5+ messages)  latest in thread

Message-ID: <tencent_5ECEDFCD4F1AD945A3AE6835DE9400D22805@qq.com>
Permalink:  ../tencent_5ECEDFCD4F1AD945A3AE6835DE9400D22805@qq.com/
Also on:    postgresql.org/message-id/tencent_5ECEDFCD4F1AD945A3AE6835DE9400D22805@qq.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: wen-yi@qq.com
  Subject: Re: \d don't print all the tables
  In-Reply-To: <tencent_5ECEDFCD4F1AD945A3AE6835DE9400D22805@qq.com>
  References: <tencent_5ECEDFCD4F1AD945A3AE6835DE9400D22805@qq.com>

* 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