Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bf2fb2e

Browse filesBrowse files
committed
Fix whitespace
1 parent efd9366 commit bf2fb2e
Copy full SHA for bf2fb2e

File tree

Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed

‎src/bin/pg_upgrade/function.c

Copy file name to clipboardExpand all lines: src/bin/pg_upgrade/function.c
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ library_name_compare(const void *p1, const void *p2)
3434
int slen1 = strlen(str1);
3535
int slen2 = strlen(str2);
3636
int cmp = strcmp(str1, str2);
37-
37+
3838
if (slen1 != slen2)
3939
return slen1 - slen2;
4040
if (cmp != 0)
@@ -230,18 +230,18 @@ check_loadable_libraries(void)
230230
lib = "$libdir/plpython2";
231231
llen = strlen(lib);
232232
}
233-
233+
234234
strcpy(cmd, "LOAD '");
235235
PQescapeStringConn(conn, cmd + strlen(cmd), lib, llen, NULL);
236236
strcat(cmd, "'");
237-
237+
238238
res = PQexec(conn, cmd);
239-
239+
240240
if (PQresultStatus(res) != PGRES_COMMAND_OK)
241241
{
242242
found = true;
243243
was_load_failure = true;
244-
244+
245245
if (script == NULL && (script = fopen_priv(output_path, "w")) == NULL)
246246
pg_fatal("could not open file \"%s\": %s\n",
247247
output_path, strerror(errno));
@@ -251,7 +251,7 @@ check_loadable_libraries(void)
251251
}
252252
else
253253
was_load_failure = false;
254-
254+
255255
PQclear(res);
256256
}
257257

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.