Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4c8495a

Browse files
committed
Remove the mostly-stubbed-out-anyway support routines for WAL UNDO.
That code is never going to be used in the foreseeable future, and where it's more than a stub it's making the redo routines harder to read.
1 parent 928b06a commit 4c8495a

File tree

30 files changed

+370
-648
lines changed

30 files changed

+370
-648
lines changed

src/backend/access/gist/gist.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/gist/gist.c,v 1.117 2005/05/17 03:34:18 neilc Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/gist/gist.c,v 1.118 2005/06/06 17:01:21 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -1732,12 +1732,6 @@ gist_redo(XLogRecPtr lsn, XLogRecord *record)
17321732
elog(PANIC, "gist_redo: unimplemented");
17331733
}
17341734

1735-
void
1736-
gist_undo(XLogRecPtr lsn, XLogRecord *record)
1737-
{
1738-
elog(PANIC, "gist_undo: unimplemented");
1739-
}
1740-
17411735
void
17421736
gist_desc(char *buf, uint8 xl_info, char *rec)
17431737
{

src/backend/access/hash/hash.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/hash/hash.c,v 1.79 2005/05/11 06:24:51 neilc Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/hash/hash.c,v 1.80 2005/06/06 17:01:21 tgl Exp $
1212
*
1313
* NOTES
1414
* This file contains only the public interface routines.
@@ -671,12 +671,6 @@ hash_redo(XLogRecPtr lsn, XLogRecord *record)
671671
elog(PANIC, "hash_redo: unimplemented");
672672
}
673673

674-
void
675-
hash_undo(XLogRecPtr lsn, XLogRecord *record)
676-
{
677-
elog(PANIC, "hash_undo: unimplemented");
678-
}
679-
680674
void
681675
hash_desc(char *buf, uint8 xl_info, char *rec)
682676
{

0 commit comments

Comments
 (0)