Skip site navigation (1) Skip section navigation (2)

pgsql: Unify some tar functionality across different parts

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Unify some tar functionality across different parts
Date: 2013-01-01 17:25:12
Message-ID: E1Tq5aS-00064s-Ap@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f5d4bdd3a5c1b7987a257b2a64e977501338af0d

Modified Files
--------------
src/backend/replication/basebackup.c |  128 +-----------------------------
src/bin/pg_dump/pg_backup_tar.c      |  105 +------------------------
src/include/port.h                   |    4 +
src/port/Makefile                    |    2 +-
src/port/tar.c                       |  143 ++++++++++++++++++++++++++++++++++
5 files changed, 154 insertions(+), 228 deletions(-)


Responses

pgsql-hackers by date

Next:From: Boszormenyi ZoltanDate: 2013-01-01 18:13:55
Subject: Re: [PATCH] Make pg_basebackup configure and start standby [Review]
Previous:From: Magnus HaganderDate: 2013-01-01 17:25:03
Subject: Re: [PATCH] Make pg_basebackup configure and start standby [Review]

pgsql-committers by date

Next:From: Magnus HaganderDate: 2013-01-01 17:30:38
Subject: pgsql: Add new file to MSVC build system as well
Previous:From: Heikki LinnakangasDate: 2013-01-01 16:10:50
Subject: pgsql: Winflex binary on FTP site doesn't work on 64-bit Windows,updat

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group