File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 26
26
#include "access/genam.h"
27
27
#include "access/heapam.h"
28
28
#include "access/htup_details.h"
29
+ #include "access/multixact.h"
29
30
#include "access/tableam.h"
30
31
#include "access/xact.h"
31
32
#include "access/xloginsert.h"
@@ -103,14 +104,14 @@ createdb(ParseState *pstate, const CreatedbStmt *stmt)
103
104
Relation rel ;
104
105
Oid src_dboid ;
105
106
Oid src_owner ;
106
- int src_encoding ;
107
- char * src_collate ;
108
- char * src_ctype ;
107
+ int src_encoding = -1 ;
108
+ char * src_collate = NULL ;
109
+ char * src_ctype = NULL ;
109
110
bool src_istemplate ;
110
111
bool src_allowconn ;
111
- Oid src_lastsysoid ;
112
- TransactionId src_frozenxid ;
113
- MultiXactId src_minmxid ;
112
+ Oid src_lastsysoid = InvalidOid ;
113
+ TransactionId src_frozenxid = InvalidTransactionId ;
114
+ MultiXactId src_minmxid = InvalidMultiXactId ;
114
115
Oid src_deftablespace ;
115
116
volatile Oid dst_deftablespace ;
116
117
Relation pg_database_rel ;
You can’t perform that action at this time.
0 commit comments