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 1wSTaa-003CpU-0G for pgsql-hackers@arkaria.postgresql.org; Thu, 28 May 2026 05:47:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wSTaW-00BDoN-2y for pgsql-hackers@arkaria.postgresql.org; Thu, 28 May 2026 05:47:25 +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 1wSTaW-00BDoC-25 for pgsql-hackers@lists.postgresql.org; Thu, 28 May 2026 05:47:25 +0000 Received: from mail-dy1-x1336.google.com ([2607:f8b0:4864:20::1336]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wSTaV-000000017fE-29nv for pgsql-hackers@postgresql.org; Thu, 28 May 2026 05:47:24 +0000 Received: by mail-dy1-x1336.google.com with SMTP id 5a478bee46e88-304545f5206so8587806eec.0 for ; Wed, 27 May 2026 22:47:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779947241; x=1780552041; darn=postgresql.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=bEkA/0In0P+YemLgD3nCno8qveToBMfx034DBOJrEmk=; b=IsUkNtWb9Yt8baFA7ApNv1R/NVDtJ6MAZUQQjfZGtXV2QI9qPaw2fAnfRktTCq8VRF ijnXGIrwTP3RquVdOjyHeOSo9Sq+8YOucIShsuPteZ4ZEZxQqIvQmZ6H1qtHlGxTCYYv /IMONpjbQnNCWtdEZIDt0lkvjvasGR27RFvJN70ns9lw2dJNReVNpiv+Y3eHm30PN+5k JTzooCgQ7BGQbwZ0GDwrRgvbzygg4cnABWg+TrEWTS85/6/8zdEo0W6fFp/12YKwB6UY cL3iQvEIBMoDp+EXsmLW3Yv/V2bokp0FBkR1XH4TYVJTeJSfAyMuY/PNkoyP1gtEMQFI nl8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779947241; x=1780552041; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=bEkA/0In0P+YemLgD3nCno8qveToBMfx034DBOJrEmk=; b=mLioXXvPfvf5+p9SFigONg76C5iP2P3zTYBYcOGAkyXndJvmDmT0yLPkfN+G8km+n9 61KnLYl5Pz5Wyww9MWzv20K7PQ3zo1b+uufYO2ux4nVYIp21J6KKmjauO3WV9PMPUkqY y220JKUACPbzPbAf7QEpGPpz8GvXTdCahrARBHZW74R42N5w3xnM0b6IKDKhdQY5cvsG XbD+BHwRsUWA9bt/VtKqJSlOIJ4TrM5WysyodmUTl0ykuGViVInLr1HPuN5wtuhqWBam BoZjyejh7q5KoQjcsF+Ptzb9Tu5oii7uch+b79hhBNsTK342P6tlwhtVc3jibhUHE+Yp btdg== X-Forwarded-Encrypted: i=1; AFNElJ8tzBV4T0JeuWfj6eU8zaRL8FVCue+K3vzLOEe9nPfjS96/CcSLz/mVoLUilTwLkogDu5pr75wlZQ0CxSD9@postgresql.org X-Gm-Message-State: AOJu0YwgzjI+5Uk8P28CxxxlU4pmZRtLQTy/xOvY7fPcoiKhmqSqxu2Z memApbtvCJxlB5b1aDDvDZpdJ/tLWqGH6Q1lz8Q05T7wvkIJpA/eiU02 X-Gm-Gg: Acq92OGq0BQ+E2RagTVt+EJ8PNMJyc4Zn1BJXtqwgZ7/5ADNUh2CkszzxZ8YDcm+Q3K VbjP7dzBRvvoIJLc3rQz3nZu5lp4gQP6uFSsfZP6wORJQutyEFF4p5XGtyQ9iyE/lIrreRn9db9 FGWfuc1HBMxptt26s1G3vBA6xHMMAOx5j1hLfKWvFioZBrd8usOi+O+Jf3gEVIzZKBjpE0bb82n 5pgymbJfDTZDJPaMgiPOt1s62TUBkGtXF6d3ne6ryHfG9p6ydU2kzkZNLI3ioLdvUvuSCVLn3/U MQfLrrVq15TLjVbO9FXp/SNQAjBKh9sKJmPmdtehEzgTPY5LYiparPptGHZpjELfE7TZt0jSR+J XJPGoNyiQS9xB9fd1yubDhoTr+SkYTax6nNV8O1TPFLDRYEwZAWhUjpAXetATcXrDrsxOGrlvxP VGnBMplalOvqmIoNaN9n4hOj2j6lKmBqptyAoNiVdb X-Received: by 2002:a05:7300:fe03:b0:304:2cc9:2ba8 with SMTP id 5a478bee46e88-30449142b65mr11064977eec.30.1779947240947; Wed, 27 May 2026 22:47:20 -0700 (PDT) Received: from smtpclient.apple ([64.32.14.230]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-30451f3feadsm18850258eec.13.2026.05.27.22.47.18 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 May 2026 22:47:20 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.600.51.1.1\)) Subject: Re: Set notice receiver before libpq connection startup From: Chao Li In-Reply-To: Date: Thu, 28 May 2026 13:46:45 +0800 Cc: Peter Eisentraut , Rafia Sabih , vignesh C , PostgreSQL-development Content-Transfer-Encoding: quoted-printable Message-Id: <4974E7EE-5E95-456E-B79F-B26F4D7339E5@gmail.com> References: <978D8971-08C3-4AAD-AE8B-976D753C882A@gmail.com> <6B9A85F9-B632-4286-98AF-9EC435019055@gmail.com> <0DCA82A4-7C10-40A7-AEF5-827171160FE8@gmail.com> <0C00CA35-D0C5-40EB-9C23-9F871DCE74E9@gmail.com> <2620a664-7b44-48b2-9aa8-5f0131702d9c@eisentraut.org> <4FD8124D-6D42-4481-9C41-B658E5378364@gmail.com> To: Fujii Masao X-Mailer: Apple Mail (2.3864.600.51.1.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On May 28, 2026, at 13:22, Fujii Masao wrote: >=20 > On Thu, May 28, 2026 at 9:40=E2=80=AFAM Chao Li = wrote: >>> The committed patch violates the .gitattributes whitespace rules: >>>=20 >>> git show --check 06a5c3cdef02 >>>=20 >>> contrib/postgres_fdw/connection.c:651: indent with spaces. >>> + /* expand_dbname = =3D */ false); >>>=20 >>> It is unfortunate that pgindent produces this layout that = contradicts the git configuration. (The current formatting also doesn't = look like what I would produce in an editor, so I think git is right = here.) >>>=20 >>> Maybe we could reformat this slightly to avoid that? (unless = someone wants to try to fix pgindent) >=20 > Thanks for the report! >=20 >=20 >> Ah, I was not aware of the whitespace rule. I think it was not = pgindent; I made that change manually. I added =E2=80=9C=3D=E2=80=9D = because I thought it might read more fluently. >>=20 >> Attached is a fix for that. >=20 > Thanks for the patch! >=20 > I suspect the whitespace issue was caused by pgindent that I ran > before committing the patch. >=20 > - /* expand_dbname =3D */ false); > + false /* expand_dbname */ ); >=20 > I think "/* expand_dbname =3D */ false" looks better. = libpqwalreceiver.c > also uses that comment style. So how about the attached v2 patch, = which > reformats the comment accordingly? >=20 > After applying the v2 patch, I confirmed that neither "git show = --check ..." > nor pgindent reports any issues. >=20 > Regards, >=20 > --=20 > Fujii Masao > Oh, I misunderstood the problem. Nice to learn a new thing, I never knew = git show check before. Yes, v2 passed =E2=80=9Cgit show --check = d359d02a238=E2=80=9D. Best regards, -- Chao Li (Evan) HighGo Software Co., Ltd. https://www.highgo.com/