]> granicus.if.org Git - postgresql/commit
Unify some tar functionality across different parts
authorMagnus Hagander <magnus@hagander.net>
Tue, 1 Jan 2013 17:15:57 +0000 (18:15 +0100)
committerMagnus Hagander <magnus@hagander.net>
Tue, 1 Jan 2013 17:15:57 +0000 (18:15 +0100)
commitf5d4bdd3a5c1b7987a257b2a64e977501338af0d
tree2e0528df81881a91c687ac1551cd3a3883b47890
parenta266f7dd93bcac8d8543df46efa2968226ddc81f
Unify some tar functionality across different parts

Move some of the tar functionality that existed mostly duplicated
in both pg_dump and the walsender basebackup functionality into
port/tar.c instead, so it can be used from both. It will also be
used by pg_basebackup in the future, which would've caused a third
copy of it around.

Zoltan Boszormenyi and Magnus Hagander
src/backend/replication/basebackup.c
src/bin/pg_dump/pg_backup_tar.c
src/include/port.h
src/port/Makefile
src/port/tar.c [new file with mode: 0644]