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 1x4LzR-0075eG-1A for pgsql-hackers@arkaria.postgresql.org; Wed, 09 Sep 2026 17:21:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1x4LzQ-00GpZ8-19 for pgsql-hackers@arkaria.postgresql.org; Wed, 09 Sep 2026 17:21:40 +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 1x4LzQ-00GpZ0-0E for pgsql-hackers@lists.postgresql.org; Wed, 09 Sep 2026 17:21:40 +0000 Received: from mail-pj2-x10.google.com ([2607:f8b0:4864:39::10]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1x4LzN-00000003oMF-3arN for pgsql-hackers@postgresql.org; Wed, 09 Sep 2026 17:21:39 +0000 Received: by mail-pj2-x10.google.com with SMTP id 98e67ed59e1d1-39b9184fa80so646667a91.2 for ; Wed, 09 Sep 2026 10:21:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; t=1788974496; x=1789579296; darn=postgresql.org; h=user-agent:in-reply-to:content-disposition:content-type :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to:content-type; bh=xxH6qCKKcGa7nYznrNsj3Qp2lyTIaPO6N2N6GPngGOM=; b=TcLK4iVmo8RRulCJy/sNYeDuhVyoSgH0h9pwAfIo66lHYmQlnC4YLK0YxdIl1DS4TI Z5KvU8SI5iZ5xgfi0aDvpwy58Hw7ebvDZCMCAN2Z02MOd1G5+/MBtcm0k8ubdc6JElY3 Fm233JXdJyKOOca1TH1bty3kwVNfoTQE1vtj8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788974496; x=1789579296; h=user-agent:in-reply-to:content-disposition:content-type :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=xxH6qCKKcGa7nYznrNsj3Qp2lyTIaPO6N2N6GPngGOM=; b=IhduBEEIu+56yCCZfBhgIMeJfFeOXtyY+s/MutlMLFxLS3AvxJx3yqQKHnKxOYgJYd PmyptgFgtZIyl13/aPYRBB7GtvU9Ezm5mwZLX6Ae6kTsE5tS/DVKIGDoww4UFmIZS7K/ WDaNlbG2QuOecPTKoEC5tmS+Ys/7/tAb6RYAFUVX4kKpKh2HJhHAGb760Cft32Gx6H00 gzCpMvHs8VclrU/FLSQJB/j0jBXi7UbueyK4i9j9nkeDvpiDWBL3hPXWCZwVezHm+0Dk dAmdbvSm9SrwsE0UQCfP65vRD4HOyR0dPPsTS34k32FkAtTga51j+Su5T1EIaa/EdwYg FZqg== X-Forwarded-Encrypted: i=1; AKwUvBy/2RNDRkVf7FlHiDDx+XQNBBan3lewjv0BPQcj+Oi+9ZRU1IhX545kCPkMR9E/8XATf4xvFonlURQmv140@postgresql.org X-Gm-Message-State: AFuF++nYJdV7fDzs4FyR2hW46crt5R4XSAuVW+Ur0BRgJP8PiSu1RYGJ lPb2akcN8+VhCK6vjeQL39GrvY+tyOt7HHbi0IsJ4rn1r8ge6gFRLz3yNF77CTHy6w== X-Gm-Gg: AYBFou2uFCroX+kFZ3l/bv841p7gQqNWE++1jLKaQBJiGaYnAt2BpdYgxRbIn8cTnNr ++9vBY4EGfDfZ4m7BA1LzP0X+pKHBGoXtqEpc3XY+qva0vaEmnSikkmOysogoR7wZCgD5qrAxeQ 1PWd6BO0MQ8gieVRfTdXtAM7fE11LRdu2kR2DscjT/qM7F2ATjDwVoEK2yafcPLDV/q9+kE/K+L GqLY8IjWrkyjb85U/+KyFeSHP+Eu0OKEx20/F2iwarYmcyBcnK7VEEPw+SET2X2fRfd+sW5SpwL 7A+AwBqJxsk51AGjhlsu2lTDhpUIl6+ABc2BRpbBnLiW0VTXZ81RF0uN2zLGCWPX6kjth//7NpD OP0Nhxflx2EGPxl1CWSD2OgI/2WFzzHLSS6xQDFjO0cMtzXCDinfdTV07arekZMF1p11QFJOxjt LT6gQ2EWVqllBMUS9Q1d/xN4casum//4ZIuhmaGOHrrTHUadaG058ZhBSyXfX5kns8LKm9zmoVz w5v+lR75IMTNQ/ctH4W6ysEyr/vo2o= X-Received: by 2002:a17:90b:5485:b0:398:9be6:f999 with SMTP id 98e67ed59e1d1-39d70c2f16emr2937196a91.24.1788974495624; Wed, 09 Sep 2026 10:21:35 -0700 (PDT) Received: from microsoft.com (c-73-15-160-255.hsd1.ca.comcast.net. [73.15.160.255]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-39d77168ddbsm381505a91.15.2026.09.09.10.21.33 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Sep 2026 10:21:34 -0700 (PDT) Date: Wed, 9 Sep 2026 10:21:32 -0700 From: Noah Misch To: Andrew Dunstan Cc: Melanie Plageman , gonzalemario@gmail.com, dbryan.green@gmail.com, euler@eulerto.com, pgsql-hackers@postgresql.org Subject: Re: pg_get_*_ddl() needs a redesign Message-ID: <20260909172132.0a.noahmisch@microsoft.com> References: <20260827015242.54.noahmisch@microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.3.0 (2026-01-25) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Sep 09, 2026 at 12:24:32PM -0400, Andrew Dunstan wrote: > On 2026-09-09 We 11:47 AM, Melanie Plageman wrote: > > [RMT hat] > > > > We are concerned that there has been no reply addressing these > > reported issues. We urge the feature authors to reply and determine > > whether or not this feature needs to be fixed (or reverted). > > Sorry, my bad. Euler and I have been working on fixes, which I hope to > publish today. There was a slight delay due to the issue addressed by my > commit a12600b762c from an hour or so ago. I want to clarify one thing before you spend much time on fixes. I don't see "fixes" addressing this thread as a whole, unless you plan to dispute the premise that the feature needs a redesign. In other words, I think the thread outcome should be one of these: - My review erred in determining that the feature needs a redesign. The design is sound and should proceed, possibly with some fixes. - Revert the feature.