Make pg_basebackup skip temporary statistics files.

Fujii Masao <fujii@postgresql.org>

Commit: 3e8554a54a95425e93fe49025ccda499a1a93173
Author: Fujii Masao <fujii@postgresql.org>
Date: 2014-02-03T14:19:49Z
Releases: 9.4.0
Make pg_basebackup skip temporary statistics files.

The temporary statistics files don't need to be included in the backup
because they are always reset at the beginning of the archive recovery.
This patch changes pg_basebackup so that it skips all files located in
$PGDATA/pg_stat_tmp or the directory specified by stats_temp_directory
parameter.

Files