Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vvsru-00829J-1r for pgsql-docs@arkaria.postgresql.org; Fri, 27 Feb 2026 08:06:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vvsrt-001kXe-1G for pgsql-docs@arkaria.postgresql.org; Fri, 27 Feb 2026 08:06:37 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vvsrt-001kXW-0T for pgsql-docs@lists.postgresql.org; Fri, 27 Feb 2026 08:06:37 +0000 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vvsrq-00000001S6a-02ZR for pgsql-docs@lists.postgresql.org; Fri, 27 Feb 2026 08:06:35 +0000 Received: by mail-pj1-x1031.google.com with SMTP id 98e67ed59e1d1-354a18c48b5so1598106a91.1 for ; Fri, 27 Feb 2026 00:06:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1772179594; cv=none; d=google.com; s=arc-20240605; b=Z2KD5j1X1RsWEwCHdcA+shg6QyiFtO8VWbwUZRuV4J/PJeZpShoiDcTYcWXDoaXr+J he7a9+HePC6Qi7ow3z9r9FHuPZRzUhYfT/by8MPGKaTCGbn8pfH+k9awMAmSuGTlbu71 BWhqnTV3ttBwVkfKNibpOMwwXralX3in5/wyo4s4yDLniQC6hPsE9RLErqy7/3HhPv74 wvyGi8LGtOScDur0QZbtxKdxFuJ5fn4mgBEP8Es7Fs7HLCH2GaMms7b2rmaKxLCuVpy+ BIUnIPbzOdrSfsf9FI2UpwTr3Y2yjQIqR7S5qeEK18yEVoNWFVlxV9JfxQibWMSdiSJN KipQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=qr/sFz736HUx84irdIoOrV8Fb+hmdXyd+L0Lhe59B+k=; fh=eitnFYqiGz5Qd9tP4ETN4LQj8BMqIm+FgmdzoPwQKYs=; b=KcP3W/ASu5pS0zEgtTU1HUbcYfJvHericzBjdDoJui900fyWa8LjeZaDcUgJgI6I/V KvGXA4/oEu8xJL3NG6mesWp7FnbM8Z9zcpwjobvOT6zH3HZW1vYZiVvU/FQQGj3HCH+U KdagcVduxZPqAiSqd1dda0NmwGX5QWdWKPhS4hB7uezFo7s4kV8MlHQMtK6Na2NIx3xk RvxRh0miCjAurkAN1CD+T5ox3F/CRfgdMZz/fN8aJltUfrKDKRklIf5G6XuspIccUOCs dMaX0c1ZMiVSms0PF80lL3jw7kye902KHj1HGHGJw6yvN0PPEFeIe3P6o1hEub1F7mIf VSoQ==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772179594; x=1772784394; darn=lists.postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=qr/sFz736HUx84irdIoOrV8Fb+hmdXyd+L0Lhe59B+k=; b=aT/TqZYICM/Via/bsxkBZDiIGX19JZb8Q5Dvf2UUI2MUR+VzFRlGsNNa9k1AdEX/mM dtqACSDZ8GU1gD+24ZwlkQFPkqjqHytpkaA//uZHIKDGNEEkURpIwO50sNzkEwdJhFNE Y3ykSeKIt9nTjfclKZpjklGpYwrFwzgOKJBJCfNgwfbE2jIxLJ6yy0eJfk3G4dIMs5MX 8kuT2wzqb2NHaVvZwqTaFZgf8zESmdieW9vMb8TIlF8t+/KyEdXHdPXx8p+88NQ5A1ut x138G9MTy37/QFC7kIoN/9Cp1CNy4sD867tdGOX65ZP4UsQ8oP3jY2Wb1J5lOM6J72Ay 8m5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772179594; x=1772784394; h=to:subject:message-id:date:from:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qr/sFz736HUx84irdIoOrV8Fb+hmdXyd+L0Lhe59B+k=; b=LsQiZ+MWFYrYJrKkRa4RfSX673QKiboOzIsK/aLX/xOyBB98x6BL74Jrq/jmfX/6r0 4Bk/1Oi/FH0Sqlm0tRWY7nmQI8s8jTGwBS5+ARefzPiaFKfganRdvUlfJ57tGX/xPjgC +SYyfzc8yAr0yt+8z6/w0ll4Nm1rqu9zNn+Yu2h/wEbcRUzszIxRTcbrxbtWMxgagcLX EzSyhlDuebVc/drQjXqE7K7z/FSphs2jBmgqNy/8ODB+S1RsUZpUznhRR0t5/rjV2zI5 pBLoky3n4u3T4fMOezgEIprYF6q2z8HdveA3nxwJqjHO0TrpvNI8oIf2qI1WoevfhJOb u0BQ== X-Gm-Message-State: AOJu0YxyC17URbyCODLBnU9aIlvYPqzYQ+90WIXv3vCdGjCoFTy2a21R pNPR1eAhyqKo99R+qkgTJBY9jncytzCVdnOVuQjEh32RdajyeO8K2p/ZEG69cCxVdJbyiROPnoI 3/rJ3G8Ddb80UCDVM0jJ7rMXkhr3HmZ9UvRr+DJs= X-Gm-Gg: ATEYQzyySoq0u+n/oVGmBTTaY4BreIqa4LtIIJny64S8UQxj3/tsRlgYtYboS5IHr6z Ucz+B/YUW9ESLWqxYKTE9mpzh1Mg8se+fzYyhg1IcGsotm2/oM3fF2Ig/vk4rSF52bufpaxZltN 0rZePml7H/ZRILUEKdsOPllNPtho94W03vJhVlx9k/LsePxosDVeu/ZCE3np0D9Rs3SrGjJEIhh bhcaru5s7Lon8jmUJigATV4tl7C4LnSeKy3b6YGFhyCbuFSPsG1epBa0+T4mWNgWaoy4oW2zYSz Ibr4jHKb X-Received: by 2002:a17:90a:7f93:b0:356:1db4:8fe5 with SMTP id 98e67ed59e1d1-35965cc714fmr1444435a91.29.1772179593314; Fri, 27 Feb 2026 00:06:33 -0800 (PST) MIME-Version: 1.0 From: yuanchao zhang Date: Fri, 27 Feb 2026 16:06:22 +0800 X-Gm-Features: AaiRm50JMFzfqNN8PWvCjyQIUcN3cIvS-90Fn_68t35S5HCsjmb7J9Up_Q5DmDI Message-ID: Subject: A suggestion about the usage manual of \d command To: pgsql-docs@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000234477064bc9b719" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000234477064bc9b719 Content-Type: text/plain; charset="UTF-8" Hi, I created a domain object named `numeric` using the following statement: `CREATE DOMAIN numeric AS NUMERIC(12,2) DEFAULT 0 CHECK (VALUE >= 0);` After executing this SQL, it indicated that the domain was created successfully. However, when I executed `\dD` in psql, the created domain could not be displayed. The reason is that the name I used is the same as a built-in type (of course, similar issues exist not only with domains). However, our manual for the `\dD` command lacks relevant explanations, which can mislead users. Users might think an object was successfully created, but the `\d` command doesn't display it, which could make beginners doubt whether the object was created successfully. I suggest adding necessary explanations to the `\d` command's manual. Best regards Yuanchao Zhang --000000000000234477064bc9b719 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
I created a domain object named `numeric` us= ing the following statement: `CREATE DOMAIN numeric AS NUMERIC(12,2) DEFAUL= T 0 CHECK (VALUE >=3D 0);` After executing this SQL, it indicated that t= he domain was created successfully. However, when I executed `\dD` in psql,= the created domain could not be displayed.

The reason is that the n= ame I used is the same as a built-in type (of course, similar issues exist = not only with domains). However, our manual for the `\dD` command lacks rel= evant explanations, which can mislead users. Users might think an object wa= s successfully created, but the `\d` command doesn't display it, which = could make beginners doubt whether the object was created successfully. I s= uggest adding necessary explanations to the `\d` command's manual.
=
Best regards
Yuanchao Zhang
--000000000000234477064bc9b719--