File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,16 +118,18 @@ typedef enum SeqType
118118 SEQTYPE_SMALLINT,
119119 SEQTYPE_INTEGER,
120120 SEQTYPE_BIGINT,
121+ SEQTYPE_CUSTINT,
121122} SeqType;
122123
123124static const char *const SeqTypeNames[] =
124125{
125126 [SEQTYPE_SMALLINT] = "smallint",
126127 [SEQTYPE_INTEGER] = "integer",
127128 [SEQTYPE_BIGINT] = "bigint",
129+ [SEQTYPE_CUSTINT] = "pg_catalog.int8",
128130};
129131
130- StaticAssertDecl(lengthof(SeqTypeNames) == (SEQTYPE_BIGINT + 1),
132+ StaticAssertDecl(lengthof(SeqTypeNames) == (SEQTYPE_CUSTINT + 1),
131133 "array length mismatch");
132134
133135typedef struct
@@ -7193,7 +7195,7 @@ getTables(Archive *fout, int *numTables)
71937195 "d.refobjsubid AS owning_col, "
71947196 "tsp.spcname AS reltablespace, ");
71957197
7196- if (fout->remoteVersion < 170000 )
7198+ if (fout->remoteVersion < 180000 )
71977199 appendPQExpBufferStr(query,
71987200 "false AS relhasrowid, ");
71997201 else
You can’t perform that action at this time.
0 commit comments