diff options
| author | Magnus Hagander | 2011-10-26 18:13:33 +0000 |
|---|---|---|
| committer | Magnus Hagander | 2011-10-26 18:13:33 +0000 |
| commit | d9bae5317300cf983dd9f01cc2e561c0eecd109a (patch) | |
| tree | 0bb6adff3bdae50f0a272c787bc75b21e833a040 /src/tools | |
| parent | 2b64f3f17a4c1064008ea7cfe52d8eabe0b86370 (diff) | |
Implement streaming xlog for backup tools
Add option for parallel streaming of the transaction log while a
base backup is running, to get the logfiles before the server has
removed them.
Also add a tool called pg_receivexlog, which streams the transaction
log into files, creating a log archive without having to wait for
segments to complete, thus decreasing the window of data loss without
having to waste space using archive_timeout. This works best in
combination with archive_command - suggested usage docs etc coming later.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/msvc/Mkvcbuild.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tools/msvc/Mkvcbuild.pm b/src/tools/msvc/Mkvcbuild.pm index 3d71c881cfb..e2ae0a15781 100644 --- a/src/tools/msvc/Mkvcbuild.pm +++ b/src/tools/msvc/Mkvcbuild.pm @@ -305,6 +305,13 @@ sub mkvcbuild $initdb->AddLibrary('ws2_32.lib'); my $pgbasebackup = AddSimpleFrontend('pg_basebackup', 1); + $pgbasebackup->AddFile('src\bin\pg_basebackup\pg_basebackup.c'); + $pgbasebackup->AddLibrary('ws2_32.lib'); + + my $pgreceivexlog = AddSimpleFrontend('pg_basebackup', 1); + $pgreceivexlog->{name} = 'pg_receivexlog'; + $pgreceivexlog->AddFile('src\bin\pg_basebackup\pg_receivexlog.c'); + $pgreceivexlog->AddLibrary('ws2_32.lib'); my $pgconfig = AddSimpleFrontend('pg_config'); |
