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 1w7Hhm-00599a-1s for pgsql-bugs@arkaria.postgresql.org; Mon, 30 Mar 2026 18:51:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w7Hhl-005fUp-0L for pgsql-bugs@arkaria.postgresql.org; Mon, 30 Mar 2026 18:51:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w7Hhk-005fUh-2o for pgsql-bugs@lists.postgresql.org; Mon, 30 Mar 2026 18:51:17 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w7Hhi-000000022lA-2u9S for pgsql-bugs@lists.postgresql.org; Mon, 30 Mar 2026 18:51:17 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 62UIp8mp2544271; Mon, 30 Mar 2026 14:51:08 -0400 From: Tom Lane To: zheng_xianghang@163.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #19446: Domain DEFAULT not reflected in system catalogs and information_schema (PG 18.3) In-reply-to: <19446-c2e092abdbf0216e@postgresql.org> References: <19446-c2e092abdbf0216e@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Mon, 30 Mar 2026 03:12:10 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2544269.1774896668.1@sss.pgh.pa.us> Date: Mon, 30 Mar 2026 14:51:08 -0400 Message-ID: <2544270.1774896668@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Bug reporting form writes: > When a column uses a domain with DEFAULT value, all system catalogs fail to > reflect the default: > - pg_attribute.atthasdef = false > - No entries in pg_attrdef > - information_schema.columns.column_default is empty > But the default value works correctly at runtime. > This is a metadata bug. This is a duplicate of #19445, and is no more valid than that is. Please stop harassing us with poorly-researched bug reports. regards, tom lane