pgsql: Fix replay of create database records on standby

2022-07-27 Thread Alvaro Herrera
Fix replay of create database records on standby Crash recovery on standby may encounter missing directories when replaying database-creation WAL records. Prior to this patch, the standby would fail to recover in such a case; however, the directories could be legitimately missing. Consider the fo

pgsql: Fix replay of create database records on standby

2022-07-27 Thread Alvaro Herrera
Fix replay of create database records on standby Crash recovery on standby may encounter missing directories when replaying database-creation WAL records. Prior to this patch, the standby would fail to recover in such a case; however, the directories could be legitimately missing. Consider the fo

pgsql: Fix replay of create database records on standby

2022-07-27 Thread Alvaro Herrera
Fix replay of create database records on standby Crash recovery on standby may encounter missing directories when replaying database-creation WAL records. Prior to this patch, the standby would fail to recover in such a case; however, the directories could be legitimately missing. Consider the fo

pgsql: Fix replay of create database records on standby

2022-07-27 Thread Alvaro Herrera
Fix replay of create database records on standby Crash recovery on standby may encounter missing directories when replaying database-creation WAL records. Prior to this patch, the standby would fail to recover in such a case; however, the directories could be legitimately missing. Consider the fo

pgsql: Fix replay of create database records on standby

2022-07-27 Thread Alvaro Herrera
Fix replay of create database records on standby Crash recovery on standby may encounter missing directories when replaying database-creation WAL records. Prior to this patch, the standby would fail to recover in such a case; however, the directories could be legitimately missing. Consider the fo

pgsql: Fix replay of create database records on standby

2022-07-27 Thread Alvaro Herrera
Fix replay of create database records on standby Crash recovery on standby may encounter missing directories when replaying database-creation WAL records. Prior to this patch, the standby would fail to recover in such a case; however, the directories could be legitimately missing. Consider the fo

pgsql: Fix replay of create database records on standby

2022-07-27 Thread Alvaro Herrera
Fix replay of create database records on standby Crash recovery on standby may encounter missing directories when replaying database-creation WAL records. Prior to this patch, the standby would fail to recover in such a case; however, the directories could be legitimately missing. Consider the fo

pgsql: Fix replay of create database records on standby

2022-03-25 Thread Alvaro Herrera
Fix replay of create database records on standby Crash recovery on standby may encounter missing directories when replaying create database WAL records. Prior to this patch, the standby would fail to recover in such a case. However, the directories could be legitimately missing. Consider a sequ

pgsql: Fix replay of create database records on standby

2022-03-25 Thread Alvaro Herrera
Fix replay of create database records on standby Crash recovery on standby may encounter missing directories when replaying create database WAL records. Prior to this patch, the standby would fail to recover in such a case. However, the directories could be legitimately missing. Consider a sequ

pgsql: Fix replay of create database records on standby

2022-03-25 Thread Alvaro Herrera
Fix replay of create database records on standby Crash recovery on standby may encounter missing directories when replaying create database WAL records. Prior to this patch, the standby would fail to recover in such a case. However, the directories could be legitimately missing. Consider a sequ