Re: [PATCH] pg_get_domain_ddl: DDL reconstruction function for CREATE DOMAIN statement
Tim Waizenegger <tim.waizenegger@enterprisedb.com>
From: Tim Waizenegger <tim.waizenegger@enterprisedb.com>
To: Chao Li <li.evan.chao@gmail.com>
Cc: pgsql-hackers@postgresql.org
Date: 2025-10-22T12:00:21Z
Lists: pgsql-hackers
On Wed, Oct 22, 2025 at 12:27 PM Chao Li <li.evan.chao@gmail.com> wrote: > > Hi Tim, > > Thanks for working on this. I haven’t finished reviewing the entire patch. But I got a quick question: > > While reviewing a similar patch of pg_get_policy_ddl(), it take the last parameter as a pretty flag. I wonder why pg_get_domain_ddl() doesn’t support an argument for pretty? > > That's a good point; we'll add pretty printing support for consistency with the other functions. I'll send a new patch in the coming days. Best regards, Florin Irion Tim Waizenegger EDB (EnterpriseDB)