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 1wDUbF-00325i-1I for pgsql-hackers@arkaria.postgresql.org; Thu, 16 Apr 2026 21:50:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wDUbD-006vO8-18 for pgsql-hackers@arkaria.postgresql.org; Thu, 16 Apr 2026 21:50:11 +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 1wDUbC-006vNz-1s for pgsql-hackers@lists.postgresql.org; Thu, 16 Apr 2026 21:50:11 +0000 Received: from fhigh-b7-smtp.messagingengine.com ([202.12.124.158]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wDUb3-00000001TIi-0aN1 for pgsql-hackers@postgresql.org; Thu, 16 Apr 2026 21:50:04 +0000 Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfhigh.stl.internal (Postfix) with ESMTP id BFCAE7A02E0 for ; Thu, 16 Apr 2026 17:49:57 -0400 (EDT) Received: from phl-imap-15 ([10.202.2.104]) by phl-compute-05.internal (MEProxy); Thu, 16 Apr 2026 17:49:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=partin.io; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm2; t=1776376197; x=1776462597; bh=4TNeT/OB6sglyAlZRigvQwUsaIR/Ooke jCHU9FE4BGw=; b=OkXc3xUhk0p/tjk7SnOKwHk1ippik0K3SDRZqAN1mcAwtyl2 a3rmrJkWad5sQxvucOIGQzM7w1OCvzUA9tUPKrLY9UjII+siNCAJK+LzllsAaaYv zM8ALyv1SBx0MTcrz5vJphlzhWXTIhZus+iGF6Y3dN15kSwFft0FNnRewzTZi/ZO qHT7YIi9Ud0WSRbPuEOVI1DzYe0nDEu10eLU/tlvmU6EQtfEO1XC5RVVdMsdJoXm CP8MrcJEZlsnP35L/fqrsyOLQydFfXe8SGzDYSRTgpkTd+Al6Dwc1z7uFegIuHvJ NAvIN2UsKRQ5fA3CKq4It5aFXcUR5CCAGwNWdQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1776376197; x= 1776462597; bh=4TNeT/OB6sglyAlZRigvQwUsaIR/OokejCHU9FE4BGw=; b=Z vDQw9M8uT4fMTqFNg5x7BmOY3blADGcymimnMRaSG+C52xvOt6MFtOX6VT6aGrSZ ei7Dz4WKu9vw/c/lHfDbP9iPccIhS7RgsRtDPMsw16KSqs847Dje0ILDGsNRBuBu kNCWeNywWdly8vok+v6wiN+F4j5TOHnjZTeBS6bSi3rbLQ639oGBvrcPid1UCCBS eIDx9YVs6OTUaT7mtEAih46nX3LteRVLPs+018fiPaLhW03uKWoUczlD2yLZjKlC tBOt9LUqCdTRJpCiVw8nJ9tG31KaHXrVrMNtYufv94W52o9rPVklzsI6ljGYq5yi G2xbBi2xscnL/puiYOb9w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdegkeduvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepofgtggffkffuvffhofesmhdtreerredtje enucfhrhhomhepfdfvrhhishhtrghnucfrrghrthhinhdfuceothhrihhsthgrnhesphgr rhhtihhnrdhioheqnecuggftrfgrthhtvghrnhepieeiveeuteeghfeutdekieeujeefve eugeelhfeukeffgfeukedttddvteetjefgnecuffhomhgrihhnpegrmhgriihonhdrtgho mhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehtrh hishhtrghnsehprghrthhinhdrihhopdhnsggprhgtphhtthhopedupdhmohguvgepshhm thhpohhuthdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehpohhsthhgrhgvsh hqlhdrohhrgh X-ME-Proxy: Feedback-ID: idd01497b:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 58C35780076; Thu, 16 Apr 2026 17:49:57 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Content-Type: multipart/mixed; boundary=26bab3bc626ca0a8a9d4916f6a5dbedba807b04eeaef4e3fbb50676cd4b2 Mime-Version: 1.0 Date: Thu, 16 Apr 2026 21:49:57 +0000 Message-Id: Subject: Add editorconfig support for Postgres spec files To: "pgsql-hackers" From: "Tristan Partin" X-Mailer: aerc 0.21.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --26bab3bc626ca0a8a9d4916f6a5dbedba807b04eeaef4e3fbb50676cd4b2 Content-Type: multipart/alternative; boundary=aa3425ae7fe97d5871f85de9c7b8499df8b68662b69a240cefb5bfe41fbe --aa3425ae7fe97d5871f85de9c7b8499df8b68662b69a240cefb5bfe41fbe Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-Type: text/plain; charset=UTF-8 I was reading through some spec files today, and my editor was resolving=20 the tab width as 8. I looked at some of the spec files, and we seem to=20 have standardized on a tab width of 4 with tabs expanded into spaces.=20 I decided to encode this in the .editorconfig file for convenience. PS: I am working on a tree-sitter grammar for these files. I'll probably=20 try to set up a TextMate grammar was well for those who use editors that=20 support that. I'll share that later. --=20 Tristan Partin PostgreSQL Contributors Team AWS (https://aws.amazon.com) --aa3425ae7fe97d5871f85de9c7b8499df8b68662b69a240cefb5bfe41fbe-- --26bab3bc626ca0a8a9d4916f6a5dbedba807b04eeaef4e3fbb50676cd4b2 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=spec.patch Content-Type: text/x-patch; charset=utf-8; name=spec.patch ZGlmZiAtLWdpdCBpLy5lZGl0b3Jjb25maWcgdy8uZWRpdG9yY29uZmlnCmluZGV4IDBlZTliZDI4 YWMuLjA3ZTFiZDBhZjYgMTAwNjQ0Ci0tLSBpLy5lZGl0b3Jjb25maWcKKysrIHcvLmVkaXRvcmNv bmZpZwpAQCAtNTMsNiArNTMsMTMgQEAgaW5kZW50X3N0eWxlID0gc3BhY2UKIHRhYl93aWR0aCA9 IHVuc2V0CiBpbmRlbnRfc2l6ZSA9IDEKIAorWyouc3BlY10KK3RyaW1fdHJhaWxpbmdfd2hpdGVz cGFjZSA9IHRydWUKK2luc2VydF9maW5hbF9uZXdsaW5lID0gdHJ1ZQoraW5kZW50X3N0eWxlID0g c3BhY2UKK3RhYl93aWR0aCA9IHVuc2V0CitpbmRlbnRfc2l6ZSA9IDQKKwogWyoueG1sXQogdHJp bV90cmFpbGluZ193aGl0ZXNwYWNlID0gdHJ1ZQogaW5zZXJ0X2ZpbmFsX25ld2xpbmUgPSB0cnVl Cg== --26bab3bc626ca0a8a9d4916f6a5dbedba807b04eeaef4e3fbb50676cd4b2--