1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-29 10:41:53 +03:00
Kyotaro HORIGUCHI
This commit is contained in:
Peter Eisentraut
2012-04-16 15:36:40 +03:00
parent 49440fff08
commit a33fcd7e79

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);