Patch to remove deadcode from dbcommands.c - Mailing list pgsql-patches

From Gavin Sherry
Subject Patch to remove deadcode from dbcommands.c
Date
Msg-id Pine.LNX.4.58.0507071123560.24030@linuxworld.com.au
Whole thread Raw
Responses Re: Patch to remove deadcode from dbcommands.c  (Neil Conway <neilc@samurai.com>)
Re: Patch to remove deadcode from dbcommands.c  (Neil Conway <neilc@samurai.com>)
List pgsql-patches
Hi all,

This patch removes dead code from redo_dbase(). The code processes
CREATE/DROP DATABASE recovery records which are of types
XLOG_DBASE_CREATE_OLD and XLOG_DBASE_DROP_OLD. We do not create such
records.

I've removed XLOG_DBASE_CREATE_OLD and XLOG_DBASE_DROP_OLD from the header
as well but have not changed the values of XLOG_DBASE_CREATE and
XLOG_DBASE_DROP so as to avoid the need for an initdb. They can be
adjusted, however, when an initdb is forced.

Thanks,

Gavin

Attachment

pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: User's exception plpgsql
Next
From: "Joshua D. Drake"
Date:
Subject: Mistake in latest plperl patch