Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit35b5f7b

Browse files
committed
Remove some tabs in SQL code in C string literals
This is not handled uniformly throughout the code, but at least nearbycode can be consistent.
1 parent9cc2756 commit35b5f7b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎src/bin/pg_dump/pg_dump.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2589,7 +2589,7 @@ dumpDatabase(Archive *fout)
25892589
appendPQExpBufferStr(creaQry, "\n-- For binary upgrade, set datfrozenxid and datminmxid.\n");
25902590
appendPQExpBuffer(creaQry, "UPDATE pg_catalog.pg_database\n"
25912591
"SET datfrozenxid = '%u', datminmxid = '%u'\n"
2592-
"WHEREdatname = ",
2592+
"WHEREdatname = ",
25932593
frozenxid, minmxid);
25942594
appendStringLiteralAH(creaQry, datname, fout);
25952595
appendPQExpBufferStr(creaQry, ";\n");
@@ -6281,7 +6281,7 @@ getPartitions(Archive *fout, int *numPartitions)
62816281

62826282
appendPQExpBufferStr(query,
62836283
"SELECT inhrelid as partrelid, inhparent AS partparent,"
6284-
" pg_get_expr(relpartbound, inhrelid) AS partbound"
6284+
" pg_get_expr(relpartbound, inhrelid) AS partbound"
62856285
" FROM pg_class c, pg_inherits"
62866286
" WHERE c.oid = inhrelid AND c.relispartition");
62876287

‎src/bin/psql/describe.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ describeTypes(const char *pattern, bool verbose, bool showSystem)
614614
appendPQExpBufferStr(&buf,
615615
" pg_catalog.array_to_string(\n"
616616
" ARRAY(\n"
617-
" SELECT e.enumlabel\n"
617+
" SELECT e.enumlabel\n"
618618
" FROM pg_catalog.pg_enum e\n"
619619
" WHERE e.enumtypid = t.oid\n");
620620

@@ -4221,8 +4221,8 @@ listTSDictionaries(const char *pattern, bool verbose)
42214221
appendPQExpBuffer(&buf,
42224222
" ( SELECT COALESCE(nt.nspname, '(null)')::pg_catalog.text || '.' || t.tmplname FROM \n"
42234223
" pg_catalog.pg_ts_template t \n"
4224-
" LEFT JOIN pg_catalog.pg_namespace nt ON nt.oid = t.tmplnamespace \n"
4225-
" WHERE d.dicttemplate = t.oid ) AS \"%s\", \n"
4224+
" LEFT JOIN pg_catalog.pg_namespace nt ON nt.oid = t.tmplnamespace \n"
4225+
" WHERE d.dicttemplate = t.oid ) AS \"%s\", \n"
42264226
" d.dictinitoption as \"%s\", \n",
42274227
gettext_noop("Template"),
42284228
gettext_noop("Init options"));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp