@@ -8182,7 +8182,6 @@ getTableAttrs(Archive *fout, TableInfo *tblinfo, int numTables)
8182
8182
int i_attnum;
8183
8183
int i_attname;
8184
8184
int i_atttypname;
8185
- int i_atttypmod;
8186
8185
int i_attstattarget;
8187
8186
int i_attstorage;
8188
8187
int i_typstorage;
@@ -8252,7 +8251,6 @@ getTableAttrs(Archive *fout, TableInfo *tblinfo, int numTables)
8252
8251
"a.attrelid,\n"
8253
8252
"a.attnum,\n"
8254
8253
"a.attname,\n"
8255
- "a.atttypmod,\n"
8256
8254
"a.attstattarget,\n"
8257
8255
"a.attstorage,\n"
8258
8256
"t.typstorage,\n"
@@ -8320,7 +8318,6 @@ getTableAttrs(Archive *fout, TableInfo *tblinfo, int numTables)
8320
8318
i_attnum = PQfnumber(res, "attnum");
8321
8319
i_attname = PQfnumber(res, "attname");
8322
8320
i_atttypname = PQfnumber(res, "atttypname");
8323
- i_atttypmod = PQfnumber(res, "atttypmod");
8324
8321
i_attstattarget = PQfnumber(res, "attstattarget");
8325
8322
i_attstorage = PQfnumber(res, "attstorage");
8326
8323
i_typstorage = PQfnumber(res, "typstorage");
@@ -8381,7 +8378,6 @@ getTableAttrs(Archive *fout, TableInfo *tblinfo, int numTables)
8381
8378
tbinfo->numatts = numatts;
8382
8379
tbinfo->attnames = (char **) pg_malloc(numatts * sizeof(char *));
8383
8380
tbinfo->atttypnames = (char **) pg_malloc(numatts * sizeof(char *));
8384
- tbinfo->atttypmod = (int *) pg_malloc(numatts * sizeof(int));
8385
8381
tbinfo->attstattarget = (int *) pg_malloc(numatts * sizeof(int));
8386
8382
tbinfo->attstorage = (char *) pg_malloc(numatts * sizeof(char));
8387
8383
tbinfo->typstorage = (char *) pg_malloc(numatts * sizeof(char));
@@ -8408,7 +8404,6 @@ getTableAttrs(Archive *fout, TableInfo *tblinfo, int numTables)
8408
8404
tbinfo->dobj.name);
8409
8405
tbinfo->attnames[j] = pg_strdup(PQgetvalue(res, r, i_attname));
8410
8406
tbinfo->atttypnames[j] = pg_strdup(PQgetvalue(res, r, i_atttypname));
8411
- tbinfo->atttypmod[j] = atoi(PQgetvalue(res, r, i_atttypmod));
8412
8407
tbinfo->attstattarget[j] = atoi(PQgetvalue(res, r, i_attstattarget));
8413
8408
tbinfo->attstorage[j] = *(PQgetvalue(res, r, i_attstorage));
8414
8409
tbinfo->typstorage[j] = *(PQgetvalue(res, r, i_typstorage));
0 commit comments