You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-01 00:25:06 +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:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user