Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> I'm wondering where we could record the LSN when creating or dropping
> tables.
>>
>> Um, why would that matter?
> In my understanding to prevent redo-ing two or more times while in the
> recovery process, we need to compare LSN in the object against the LSN
> in the WAL log.
But undo/redo checking on file creation or deletion is trivial: either
the kernel has the file or it doesn't. We do not need any other check
AFAICS.
regards, tom lane