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 1wDePF-003CnV-0Q for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Apr 2026 08:18:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wDePE-0096rf-1C for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Apr 2026 08:18:28 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wDePE-0096rX-03 for pgsql-hackers@lists.postgresql.org; Fri, 17 Apr 2026 08:18:28 +0000 Received: from meesny.iki.fi ([195.140.195.201]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wDePB-00000001RY1-3Tpf for pgsql-hackers@postgresql.org; Fri, 17 Apr 2026 08:18:27 +0000 Received: from [10.0.2.15] (unknown [130.41.208.2]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: hlinnaka) by meesny.iki.fi (Postfix) with ESMTPSA id 4fxnnq74dZzyNR; Fri, 17 Apr 2026 11:18:23 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1776413904; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=G0kgABPyjbB7sYcB4GjU2loQ3aOL1fu/HfX60XTiA/8=; b=GGc87z5/rA3c/Qj3RZPIvaMIy7A+HGcqy06Q5uwLxgqIUJWY3EJJ9kttpGteQRQ1GFdhdZ vstM76xHvCc6WmE55gGcFUd7pbAqil510wU+7jEebautVzzVkn5vIh3JkLh4HLWvVaDdNK CTHPBYl7HZYXEotmPWm9OR7bPYiM6bA= ARC-Seal: i=1; a=rsa-sha256; d=iki.fi; s=meesny; cv=none; t=1776413904; b=lL3MTk2phAgb7Dooe0fGvZP2A8ocFHhXM3SA08USB/25SoVUvrmTqpK+fQvG6JrBGj5Lci Mw72qn2Hmf9CUYqqkYYxuDq/vpWcHj9BFDZGTja4DaLR/XelQCMqJJHAIH4iA8gb0+4Soi 2Vpcjd4kFwiH1qDGqvqtPeqWm0Y5+TU= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=hlinnaka smtp.mailfrom=hlinnaka@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1776413904; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=G0kgABPyjbB7sYcB4GjU2loQ3aOL1fu/HfX60XTiA/8=; b=smfbhRfW/SxBG1G1/yWAMxKDCMYOlceL3+oSvZE3ZXnvxoO22SODSHpqVQw3z1K11D8xCP DxXk53w1PYEsqM1TKQZJM/DY+x6Mucin06Z91FdarHy2BRPT85tgGpxR+lveHudrXkk7dN n/zd0FSDVHZbb0MntKr6PzERcdgAR8A= Message-ID: <29230792-69b4-473c-b2a7-7801bc8769e0@iki.fi> Date: Fri, 17 Apr 2026 11:18:22 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Add editorconfig support for Postgres spec files To: Tristan Partin , pgsql-hackers References: Content-Language: en-US From: Heikki Linnakangas In-Reply-To: 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 17/04/2026 00:49, Tristan Partin wrote: > I was reading through some spec files today, and my editor was resolving > the tab width as 8. I looked at some of the spec files, and we seem to > have standardized on a tab width of 4 with tabs expanded into spaces. There's a mix of styles in different files. To pick a few random examples: src/test/isolation/specs/nowait.spec: indented with 2 spaces. But there are some tabs too. src/test/modules/injection_points/specs/repack_toast.spec: Tabs src/test/modules/brin/specs/summarization-and-inprogress-insertion.spec: Mix of tabs and spaces, width 4. Yeah, it would be nice to standardize on something... - Heikki