]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
postgres_fdw: Fix whitespace violation in connection.c
authorFujii Masao <fujii@postgresql.org>
Thu, 28 May 2026 12:53:26 +0000 (21:53 +0900)
committerFujii Masao <fujii@postgresql.org>
Thu, 28 May 2026 12:53:26 +0000 (21:53 +0900)
Previously a continuation line in the call to libpqsrv_connect_params_start()
in postgres_fdw/connection.c was indented with spaces, violating
the PostgreSQL project's whitespace rules for C files and triggering
git show --check.

This commit reformats the code to avoid that layout and use indentation
consistent with project style. No functional change.

Reported-by: Peter Eisentraut <peter@eisentraut.org>
Author: Chao Li <lic@highgo.com>
Author: Fujii Masao <masao.fujii@gmail.com>
Discussion: https://postgr.es/m/2620a664-7b44-48b2-9aa8-5f0131702d9c@eisentraut.org

contrib/postgres_fdw/connection.c

index 346f6f1fbfea86ac10f25c59bb0a2bad1b38daba..aab216959793f2bf7cd03157235b0eec5d22ebea 100644 (file)
@@ -647,8 +647,9 @@ connect_pg_server(ForeignServer *server, UserMapping *user)
                        pgfdw_we_connect = WaitEventExtensionNew("PostgresFdwConnect");
 
                /* OK to make connection */
-               start_conn = libpqsrv_connect_params_start(keywords, values,
-                                                                                                   /* expand_dbname = */ false);
+               start_conn =
+                       libpqsrv_connect_params_start(keywords, values,
+                                                                                  /* expand_dbname = */ false);
                PQsetNoticeReceiver(start_conn, libpqsrv_notice_receiver,
                                                        "received message via remote connection");
                libpqsrv_connect_complete(start_conn, pgfdw_we_connect);