]> granicus.if.org Git - postgresql/commitdiff
Fix whitespace
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 24 Jan 2019 20:58:37 +0000 (21:58 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 24 Jan 2019 20:58:37 +0000 (21:58 +0100)
src/bin/pg_upgrade/function.c

index 46c053d494d22b07a9b2976613d65b002a436b12..2a7df78f80577603e8738e22ed5ce58b2780a408 100644 (file)
@@ -34,7 +34,7 @@ library_name_compare(const void *p1, const void *p2)
        int                     slen1 = strlen(str1);
        int                     slen2 = strlen(str2);
        int                     cmp = strcmp(str1, str2);
-       
+
        if (slen1 != slen2)
                return slen1 - slen2;
        if (cmp != 0)
@@ -230,18 +230,18 @@ check_loadable_libraries(void)
                                lib = "$libdir/plpython2";
                                llen = strlen(lib);
                        }
-       
+
                        strcpy(cmd, "LOAD '");
                        PQescapeStringConn(conn, cmd + strlen(cmd), lib, llen, NULL);
                        strcat(cmd, "'");
-       
+
                        res = PQexec(conn, cmd);
-       
+
                        if (PQresultStatus(res) != PGRES_COMMAND_OK)
                        {
                                found = true;
                                was_load_failure = true;
-       
+
                                if (script == NULL && (script = fopen_priv(output_path, "w")) == NULL)
                                        pg_fatal("could not open file \"%s\": %s\n",
                                                         output_path, strerror(errno));
@@ -251,7 +251,7 @@ check_loadable_libraries(void)
                        }
                        else
                                was_load_failure = false;
-       
+
                        PQclear(res);
                }