Kyotaro HORIGUCHI
This commit is contained in:
Peter Eisentraut 2012-04-16 15:36:40 +03:00
parent 49440fff08
commit a33fcd7e79
1 changed files with 4 additions and 4 deletions

View File

@ -6354,10 +6354,10 @@ StartupXLOG(void)
CheckRequiredParameterValues(); CheckRequiredParameterValues();
/* /*
* We're in recovery, so unlogged relations relations may be trashed * We're in recovery, so unlogged relations may be trashed and must be
* and must be reset. This should be done BEFORE allowing Hot Standby * reset. This should be done BEFORE allowing Hot Standby connections,
* connections, so that read-only backends don't try to read whatever * so that read-only backends don't try to read whatever garbage is
* garbage is left over from before. * left over from before.
*/ */
ResetUnloggedRelations(UNLOGGED_RELATION_CLEANUP); ResetUnloggedRelations(UNLOGGED_RELATION_CLEANUP);