|
11 | 11 | * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
|
12 | 12 | * Portions Copyright (c) 1994, Regents of the University of California
|
13 | 13 | *
|
14 |
| - * $PostgreSQL: pgsql/src/backend/access/transam/xlogutils.c,v 1.72 2010/08/13 20:10:50 rhaas Exp $ |
| 14 | + * $PostgreSQL: pgsql/src/backend/access/transam/xlogutils.c,v 1.73 2010/08/30 16:46:23 tgl Exp $ |
15 | 15 | *
|
16 | 16 | *-------------------------------------------------------------------------
|
17 | 17 | */
|
@@ -377,6 +377,8 @@ CreateFakeRelcacheEntry(RelFileNode rnode)
|
377 | 377 |
|
378 | 378 | rel->rd_rel=&fakeentry->pgc;
|
379 | 379 | rel->rd_node=rnode;
|
| 380 | +/* We will never be working with temp rels during recovery */ |
| 381 | +rel->rd_backend=InvalidBackendId; |
380 | 382 |
|
381 | 383 | /* We don't know the name of the relation; use relfilenode instead */
|
382 | 384 | sprintf(RelationGetRelationName(rel),"%u",rnode.relNode);
|
|