postgresql/src/backend
Fujii Masao dd85acf0c4 Make recovery rename tablespace_map to *.old if backup_label is not present.
If tablespace_map file is present without backup_label file, there is
no use of such file.  There is no harm in retaining it, but it is better
to get rid of the map file so that we don't have any redundant file
in data directory and it will avoid any sort of confusion. It seems
prudent though to just rename the file out of the way rather than
delete it completely, also we ignore any error that occurs in rename
operation as even if map file is present without backup_label file,
it is harmless.

Back-patch to 9.5 where tablespace_map file was introduced.

Amit Kapila, reviewed by Robert Haas, Alvaro Herrera and me.
2015-08-03 23:04:41 +09:00
..
access Make recovery rename tablespace_map to *.old if backup_label is not present. 2015-08-03 23:04:41 +09:00
bootstrap pgindent run for 9.5 2015-05-23 21:35:49 -04:00
catalog Create a pg_shdepend entry for each role in TO clause of policies. 2015-07-28 16:01:53 -07:00
commands Fix a number of places that produced XX000 errors in the regression tests. 2015-08-02 23:49:19 -04:00
executor Fix a number of places that produced XX000 errors in the regression tests. 2015-08-02 23:49:19 -04:00
foreign Code review for foreign/custom join pushdown patch. 2015-05-10 14:36:36 -04:00
lib Use appendStringInfoString/Char et al where appropriate. 2015-07-02 12:36:03 +03:00
libpq Fix incorrect order of lock file removal and failure to close() sockets. 2015-08-02 14:55:03 -04:00
main Revoke support for strxfrm() that write past the specified array length. 2015-07-08 20:44:21 -04:00
nodes Redesign tablesample method API, and do extensive code review. 2015-07-25 14:39:00 -04:00
optimizer Fix some planner issues with degenerate outer join clauses. 2015-08-01 20:57:41 -04:00
parser Add IF NOT EXISTS processing to ALTER TABLE ADD COLUMN 2015-07-29 21:30:00 -04:00
po Translation updates 2015-06-28 23:56:55 -04:00
port Make WaitLatchOrSocket's timeout detection more robust. 2015-07-18 11:47:13 -04:00
postmaster Fix incorrect order of lock file removal and failure to close() sockets. 2015-08-02 14:55:03 -04:00
regex Replace a bunch more uses of strncpy() with safer coding. 2015-01-24 13:05:42 -05:00
replication Fix logical decoding bug leading to inefficient reopening of files. 2015-07-07 13:12:46 +02:00
rewrite Use appropriate command type when retrieving relation's policies. 2015-07-30 09:38:15 -07:00
snowball Remove no-longer-required function declarations. 2015-05-24 12:20:23 -04:00
storage Micro optimize LWLockAttemptLock() a bit. 2015-08-02 18:41:23 +02:00
tcop Add ALTER OPERATOR command, for changing selectivity estimator functions. 2015-07-14 18:17:55 +03:00
tsearch pgindent run for 9.5 2015-05-23 21:35:49 -04:00
utils Fix a number of places that produced XX000 errors in the regression tests. 2015-08-02 23:49:19 -04:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
Makefile AIX: Link the postgres executable with -Wl,-brtllib. 2015-07-15 21:00:26 -04:00
nls.mk Translation updates 2015-02-01 23:23:40 -05:00