Skip to content

Commit 35b5f7b

Browse files
committed
Remove some tabs in SQL code in C string literals
This is not handled uniformly throughout the code, but at least nearby code can be consistent.
1 parent 9cc2756 commit 35b5f7b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/bin/pg_dump/pg_dump.c

+2-2
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-
"WHERE datname = ",
2592+
"WHERE datname = ",
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

+3-3
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)