postgresql/src
Heikki Linnakangas c0f279c469 Don't include file type bits in tar archive's mode field.
The "file mode" bits in the tar file header is not supposed to include the
file type bits, e.g. S_IFREG or S_IFDIR. The file type is stored in a
separate field. This isn't a problem in practice, all tar programs ignore
the extra bits, but let's be tidy.

This came up in a discussion around bug #11949, reported by Hendrik Grewe,
although this doesn't fix the issue with tar --append. That turned out to be
a bug in GNU tar. Schilly's tartest program revealed this defect in the tar
created by pg_basebackup.

This problem goes as far as we we've had pg_basebackup, but since this
hasn't caused any problems in practice, let's be conservative and fix in
master only.
2014-12-05 13:54:21 +02:00
..
backend Print new track_commit_timestamp in rm_desc of a parameter-change record. 2014-12-05 12:11:43 +02:00
bin Move PG_AUTOCONF_FILENAME definition 2014-12-03 19:54:01 -05:00
common Small message fixes 2014-08-09 00:07:00 -04:00
include Move PG_AUTOCONF_FILENAME definition 2014-12-03 19:54:01 -05:00
interfaces Put SSL_pending() call behind the new internal SSL API. 2014-12-01 17:45:04 +02:00
makefiles Revert haphazard pgxs makefile changes 2014-12-04 08:07:59 -05:00
pl Improve error messages for malformed array input strings. 2014-12-02 18:23:27 -05:00
port Don't include file type bits in tar archive's mode field. 2014-12-05 13:54:21 +02:00
template Remove Alpha and Tru64 support. 2014-06-28 21:46:15 +02:00
test Remove erroneous EXTRA_CLEAN line from Makefile. 2014-12-05 12:17:56 +02:00
timezone Update time zone data files to tzdata release 2014j. 2014-11-17 12:09:12 -05:00
tools Update comments in find_typedef. 2014-11-18 15:51:45 -05:00
tutorial Adjust blank lines around PG_MODULE_MAGIC defines, for consistency 2014-07-10 14:02:08 -04:00
.gitignore
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
DEVELOPERS
Makefile Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.global.in Fix PGXS vpath build when PostgreSQL is built with vpath 2014-12-04 17:02:02 -05:00
Makefile.shlib Clarify .def file comments. 2014-11-02 21:43:33 -05:00
nls-global.mk Setup error context callback for transaction lock waits 2014-03-19 15:10:36 -03:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00