1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-15 01:04:37 +02:00

Rename old page*() functions to conform to new conventions.

The general convention now is to prefix PostgreSQL functions with "pg".
This commit is contained in:
David Steele
2020-03-04 14:24:40 -05:00
parent a86253f112
commit 91f321fb86
8 changed files with 30 additions and 31 deletions

View File

@ -49,7 +49,7 @@ sub pageBuild
my $iWalOffset = shift;
my $tPage = defined($iWalId) ? pack('I', $iWalId) . pack('I', $iWalOffset) . substr($tPageSource, 8) : $tPageSource;
my $iChecksum = pageChecksum($tPage, $iBlockNo, length($tPage));
my $iChecksum = pgPageChecksum($tPage, $iBlockNo, length($tPage));
return substr($tPage, 0, 8) . pack('S', $iChecksum) . substr($tPage, 10);
}