Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1grMDs-00047w-GO for pgsql-hackers@arkaria.postgresql.org; Wed, 06 Feb 2019 12:22:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1grMDp-00065z-GJ for pgsql-hackers@arkaria.postgresql.org; Wed, 06 Feb 2019 12:22:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1grMDp-00065s-93 for pgsql-hackers@lists.postgresql.org; Wed, 06 Feb 2019 12:22:33 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1grMDn-0006br-9d for pgsql-hackers@postgresql.org; Wed, 06 Feb 2019 12:22:32 +0000 Received: from msg.df7cb.de (unknown [IPv6:2003:5b:203b:100:7627:eaff:fe52:8e03]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 43vgYx6LJSz3F1k; Wed, 6 Feb 2019 13:22:29 +0100 (CET) Date: Wed, 6 Feb 2019 13:22:29 +0100 From: Christoph Berg To: Andres Freund Cc: Andrew Gierth , Andrew Dunstan , pgsql-hackers@postgresql.org Subject: Re: fast defaults in heap_getattr vs heap_deform_tuple Message-ID: <20190206122229.GB10563@msg.df7cb.de> Mail-Followup-To: Christoph Berg , Andres Freund , Andrew Gierth , Andrew Dunstan , pgsql-hackers@postgresql.org References: <20190201162404.onngi77f26baem4g@alap3.anarazel.de> <20190201224905.3qkbm5gj6ielsszc@alap3.anarazel.de> <6b0f583f-cfa9-c476-86bf-6976f1c41b2a@2ndQuadrant.com> <20190205165705.7cqrwvjxvip7dcow@alap3.anarazel.de> <20190206091740.gdohil2mpdmzf7z5@alap3.anarazel.de> <87va1x43ot.fsf@news-spur.riddles.org.uk> <20190206113919.64ihpul63brrg4y6@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190206113919.64ihpul63brrg4y6@alap3.anarazel.de> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > > Sorry I didn't spot this earlier, but... in the backpatch to v11, is the > > expansion of the trigger tuple really unnecessary now? Since > > heap_getattr is a macro, C-language triggers that aren't recompiled > > won't see the default? So perhaps the expansion should be left in? > > Myon | the list of packages in Debian where heap_getattr appears is postgresql-11, pglogical, > | pgextwlist, citus, postgresql-plsh, wal2json, pg-cron, postgresql-rum > > I'm mildly disinclined to re-add the heap_expand_tuple, because it's not > the only case, and the extensions named above don't seem like they'd > specifically affected by the trigger path, but I'm not sure. I'm not following closely enough to say anything about which fix is the best, but if this isn't a "recompile the world" case, we can get the above list of packages rebuilt. It would be rather unpleasant to have to schedule that for 50 packages, though. Are rebuilt extension binaries compatible with older servers that do not have the fix yet? Christoph