Remove some tabs in SQL code in C string literals
authorPeter Eisentraut <[email protected]>
Wed, 19 Apr 2023 07:29:43 +0000 (09:29 +0200)
committerPeter Eisentraut <[email protected]>
Wed, 19 Apr 2023 07:29:43 +0000 (09:29 +0200)
This is not handled uniformly throughout the code, but at least nearby
code can be consistent.

src/backend/commands/subscriptioncmds.c

index 3251d89ba80a7408fe60feb55ccf282c4525bfeb..56eafbff10a89b215f30c0cb9531daaf532b8283 100644 (file)
@@ -1955,9 +1955,9 @@ check_publications_origin(WalReceiverConn *wrconn, List *publications,
        appendStringInfoString(&cmd,
                                                   "SELECT DISTINCT P.pubname AS pubname\n"
                                                   "FROM pg_publication P,\n"
-                                                  "     LATERAL pg_get_publication_tables(P.pubname) GPT\n"
-                                                  "     JOIN pg_subscription_rel PS ON (GPT.relid = PS.srrelid),\n"
-                                                  "     pg_class C JOIN pg_namespace N ON (N.oid = C.relnamespace)\n"
+                                                  "     LATERAL pg_get_publication_tables(P.pubname) GPT\n"
+                                                  "     JOIN pg_subscription_rel PS ON (GPT.relid = PS.srrelid),\n"
+                                                  "     pg_class C JOIN pg_namespace N ON (N.oid = C.relnamespace)\n"
                                                   "WHERE C.oid = GPT.relid AND P.pubname IN (");
        get_publications_str(publications, &cmd, true);
        appendStringInfoString(&cmd, ")\n");