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

Commit f81fb4f

Browse files
committed
Fix bug introduced by pgrminclude where the tablespace version name was
not expanded. Bump catalog version number to force initdb for all tablespaces.
1 parent 029dfdf commit f81fb4f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/include/catalog/catalog.h

+5
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
#ifndef CATALOG_H
1515
#define CATALOG_H
1616

17+
/*
18+
* 'pgrminclude ignore' needed here because CppAsString2() does not throw
19+
* an error if the symbol is not defined.
20+
*/
21+
#include "catalog/catversion.h" /* pgrminclude ignore */
1722
#include "catalog/pg_class.h"
1823
#include "storage/relfilenode.h"
1924
#include "utils/relcache.h"

src/include/catalog/catversion.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@
5353
*/
5454

5555
/* yyyymmddN */
56-
#define CATALOG_VERSION_NO 201108051
56+
#define CATALOG_VERSION_NO 201109071
5757

5858
#endif

0 commit comments

Comments
 (0)