File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.56 1998/07/09 03:29:08 scrappy Exp $
10
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.57 1998/07/13 00:01:44 momjian Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -504,15 +504,15 @@ getRowDescriptions(PGconn *conn)
504
504
if (pqGets (typName , MAX_MESSAGE_LEN , conn ) ||
505
505
pqGetInt (& adtid , 4 , conn ) ||
506
506
pqGetInt (& adtsize , 2 , conn ) ||
507
- pqGetInt (& adtmod , 2 , conn ))
507
+ pqGetInt (& adtmod , 4 , conn ))
508
508
{
509
509
PQclear (result );
510
510
return EOF ;
511
511
}
512
512
result -> attDescs [i ].name = strdup (typName );
513
513
result -> attDescs [i ].adtid = adtid ;
514
514
result -> attDescs [i ].adtsize = (short ) adtsize ;
515
- result -> attDescs [i ].adtmod = ( short ) adtmod ;
515
+ result -> attDescs [i ].adtmod = adtmod ;
516
516
}
517
517
518
518
/* Success! */
Original file line number Diff line number Diff line change 6
6
*
7
7
* Copyright (c) 1994, Regents of the University of California
8
8
*
9
- * $Id: libpq-fe.h,v 1.31 1998/07/09 03:29:09 scrappy Exp $
9
+ * $Id: libpq-fe.h,v 1.32 1998/07/13 00:01:45 momjian Exp $
10
10
*
11
11
*-------------------------------------------------------------------------
12
12
*/
@@ -78,7 +78,7 @@ extern "C"
78
78
char * name ; /* type name */
79
79
Oid adtid ; /* type id */
80
80
short adtsize ; /* type size */
81
- short adtmod ; /* type-specific modifier info */
81
+ int adtmod ; /* type-specific modifier info */
82
82
} PGresAttDesc ;
83
83
84
84
/* use char* for Attribute values,
You can’t perform that action at this time.
0 commit comments