diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2023-03-29 08:25:12 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2023-03-29 08:25:12 +0200 |
commit | 0d15afc875f44bcb0adc244c4d9034023f99b609 (patch) | |
tree | 14cfc606b326bd81d6855cb35fa52d3ed69f7849 /src/backend/access/transam/xlogarchive.c | |
parent | 062a8444242404242f7c2b814fed37b329639408 (diff) | |
download | postgresql-0d15afc875f44bcb0adc244c4d9034023f99b609.tar.gz postgresql-0d15afc875f44bcb0adc244c4d9034023f99b609.zip |
Simplify useless 0L constants
In ancient times, these belonged to arguments or fields that were
actually of type long, but now they are not anymore, so this "L"
decoration is just confusing. (Some other 0L and other "L" constants
remain, where they are actually associated with a long type.)
Diffstat (limited to 'src/backend/access/transam/xlogarchive.c')
-rw-r--r-- | src/backend/access/transam/xlogarchive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlogarchive.c b/src/backend/access/transam/xlogarchive.c index fcc87ff44fd..a0f5aa24b58 100644 --- a/src/backend/access/transam/xlogarchive.c +++ b/src/backend/access/transam/xlogarchive.c @@ -148,7 +148,7 @@ RestoreArchivedFile(char *path, const char *xlogfname, Assert(strcmp(lastRestartPointFname, xlogfname) <= 0); } else - XLogFileName(lastRestartPointFname, 0, 0L, wal_segment_size); + XLogFileName(lastRestartPointFname, 0, 0, wal_segment_size); /* Build the restore command to execute */ xlogRestoreCmd = BuildRestoreCommand(recoveryRestoreCommand, |