Patch to remove deadcode from dbcommands.c

From: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
To: pgsql-patches(at)postgresql(dot)org
Subject: Patch to remove deadcode from dbcommands.c
Date: 2005-07-07 01:30:05
Message-ID: Pine.LNX.4.58.0507071123560.24030@linuxworld.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
db_wal_deadcode.patch text/plain 3.4 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Joshua D. Drake 2005-07-07 01:38:18 Mistake in latest plperl patch
Previous Message Neil Conway 2005-07-07 01:00:36 Re: User's exception plpgsql