aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorÁlvaro Herrera <alvherre@alvh.no-ip.org>2024-11-26 17:10:07 +0100
committerÁlvaro Herrera <alvherre@alvh.no-ip.org>2024-11-26 17:10:07 +0100
commitb0e572819d51bfd87d161e5e1d11178610f6fb3a (patch)
tree48c84a0698ba6dc497e006165b62d8558bf0139d /src/backend
parentf3834c12afd8125c4e5e8774a4b941a58dab8f5b (diff)
downloadpostgresql-b0e572819d51bfd87d161e5e1d11178610f6fb3a.tar.gz
postgresql-b0e572819d51bfd87d161e5e1d11178610f6fb3a.zip
Clean up newlines following left parentheses
Most came in during the 17 cycle, so backpatch there. Some (particularly reorderbuffer.h) are very old, but backpatching doesn't seem useful. Like commits c9d297751959, c4f113e8fef9.
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/backup/basebackup_incremental.c8
-rw-r--r--src/backend/utils/init/postinit.c3
2 files changed, 5 insertions, 6 deletions
diff --git a/src/backend/backup/basebackup_incremental.c b/src/backend/backup/basebackup_incremental.c
index 15082c29878..ceec1f44312 100644
--- a/src/backend/backup/basebackup_incremental.c
+++ b/src/backend/backup/basebackup_incremental.c
@@ -207,8 +207,8 @@ AppendIncrementalManifestData(IncrementalBackupInfo *ib, const char *data,
* time for an incremental parse. We'll do all but the last MIN_CHUNK
* so that we have enough left for the final piece.
*/
- json_parse_manifest_incremental_chunk(
- ib->inc_state, ib->buf.data, ib->buf.len - MIN_CHUNK, false);
+ json_parse_manifest_incremental_chunk(ib->inc_state, ib->buf.data,
+ ib->buf.len - MIN_CHUNK, false);
/* now remove what we just parsed */
memmove(ib->buf.data, ib->buf.data + (ib->buf.len - MIN_CHUNK),
MIN_CHUNK + 1);
@@ -234,8 +234,8 @@ FinalizeIncrementalManifest(IncrementalBackupInfo *ib)
oldcontext = MemoryContextSwitchTo(ib->mcxt);
/* Parse the last chunk of the manifest */
- json_parse_manifest_incremental_chunk(
- ib->inc_state, ib->buf.data, ib->buf.len, true);
+ json_parse_manifest_incremental_chunk(ib->inc_state, ib->buf.data,
+ ib->buf.len, true);
/* Done with the buffer, so release memory. */
pfree(ib->buf.data);
diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c
index adc21e019d5..e4ac84354ef 100644
--- a/src/backend/utils/init/postinit.c
+++ b/src/backend/utils/init/postinit.c
@@ -431,8 +431,7 @@ CheckMyDatabase(const char *name, bool am_superuser, bool override_allow_connect
builtin_validate_locale(dbform->encoding, datlocale);
- default_locale.info.builtin.locale = MemoryContextStrdup(
- TopMemoryContext, datlocale);
+ default_locale.info.builtin.locale = MemoryContextStrdup(TopMemoryContext, datlocale);
}
else if (dbform->datlocprovider == COLLPROVIDER_ICU)
{