Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pF6rf-0005DD-UR for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Jan 2023 05:08:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pF6re-0008SO-Ph for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Jan 2023 05:07:58 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pF6rd-0008S7-MU for pgsql-hackers@lists.postgresql.org; Tue, 10 Jan 2023 05:07:58 +0000 Received: from new4-smtp.messagingengine.com ([66.111.4.230]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pF6rZ-0003zd-Ng for pgsql-hackers@postgresql.org; Tue, 10 Jan 2023 05:07:56 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 70BDD581B80; Tue, 10 Jan 2023 00:07:52 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 10 Jan 2023 00:07:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1673327272; x= 1673334472; bh=JasmZTRFbyo2W8aR6WTfHQtunQmstZI0YBpSBpcS9I0=; b=K 1fsWS/fifDL3NCr0ZphavFbMLYQrm+cwhimeCd9guLoNx0AK4CnIBiltnt7//dje mMBth3Sg/8gk72xGIsIUqjtwDwjM0XmrnM8RTkUptFeZ86o48LZWVAXZY4UYF7tT muZTu2kSWeCZ7PSUO7CjLjq+HJUzcHuSmkxHL5JrkSuoF5Jg+m6FYxhbiOy6K9+c 1PaMe+Ux1ARmshEQy9ElwOBIm0Hi4huHbJHm6J3TIBT62Ce0SVo8qPcA52R+0a6e 47Tqf4k+hVfQ0O6284Jl1qCCwFdDygKRlVZyRflu14TIQM04XJuidjGJ2qTkkV2O +uG+tLXLQ9osHA9PZVIrw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrkeejgdektdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtje ertddtfeejnecuhfhrohhmpefrvghtvghrucfgihhsvghnthhrrghuthcuoehpvghtvghr rdgvihhsvghnthhrrghuthesvghnthgvrhhprhhishgvuggsrdgtohhmqeenucggtffrrg htthgvrhhnpeehleffgeegudejteeihfelteduvdeifffhffdvjedvffegjeekudeludeh udeifeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hpvghtvghrrdgvihhsvghnthhrrghuthesvghnthgvrhhprhhishgvuggsrdgtohhm X-ME-Proxy: Feedback-ID: i131946ab:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 10 Jan 2023 00:07:51 -0500 (EST) Message-ID: Date: Tue, 10 Jan 2023 06:07:49 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: split TOAST support out of postgres.h Content-Language: en-US To: Tom Lane Cc: pgsql-hackers References: <320834.1672240076@sss.pgh.pa.us> <749875.1672419036@sss.pgh.pa.us> From: Peter Eisentraut In-Reply-To: <749875.1672419036@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 30.12.22 17:50, Tom Lane wrote: > Peter Eisentraut writes: >> On 28.12.22 16:07, Tom Lane wrote: >>> I dunno, #3 seems kind of unprincipled. Also, since fmgr.h is included >>> so widely, I doubt it is buying very much in terms of reducing header >>> footprint. How bad is it to do #2? > >> See this incremental patch set. > > Wow, 41 files requiring varatt.h is a lot fewer than I would have guessed. > I think that bears out my feeling that fmgr.h wasn't a great location: > I count 117 #includes of that, many of which are in .h files themselves > so that many more .c files would be required to read them. committed