From 683f399391cf3f553653c43cb324e44e8c85a4ad Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 12 Jul 1998 21:29:40 +0000 Subject: Change atttypmod from int16 to int32, for Thomas. --- src/include/utils/array.h | 4 ++-- src/include/utils/builtins.h | 6 +++--- src/include/utils/lsyscache.h | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/include/utils') diff --git a/src/include/utils/array.h b/src/include/utils/array.h index 86603cd453a..c5b8804151d 100644 --- a/src/include/utils/array.h +++ b/src/include/utils/array.h @@ -10,7 +10,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: array.h,v 1.11 1998/02/26 04:43:45 momjian Exp $ + * $Id: array.h,v 1.12 1998/07/12 21:29:38 momjian Exp $ * * NOTES * XXX the data array should be LONGALIGN'd -- notice that the array @@ -114,7 +114,7 @@ typedef struct /* * prototypes for functions defined in arrayfuncs.c */ -extern char *array_in(char *string, Oid element_type, int16 typmod); +extern char *array_in(char *string, Oid element_type, int32 typmod); extern char *array_out(ArrayType *v, Oid element_type); extern char *array_dims(ArrayType *v, bool *isNull); extern Datum diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h index c672e42c27b..e359c526f00 100644 --- a/src/include/utils/builtins.h +++ b/src/include/utils/builtins.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: builtins.h,v 1.45 1998/07/08 14:10:30 thomas Exp $ + * $Id: builtins.h,v 1.46 1998/07/12 21:29:38 momjian Exp $ * * NOTES * This should normally only be included by fmgr.h. @@ -395,7 +395,7 @@ DateTime *timestamp_datetime(time_t timestamp); time_t datetime_timestamp(DateTime *datetime); /* varchar.c */ -extern char *bpcharin(char *s, int dummy, int16 atttypmod); +extern char *bpcharin(char *s, int dummy, int32 atttypmod); extern char *bpcharout(char *s); extern char *bpchar(char *s, int32 slen); extern char *char_bpchar(int32 c); @@ -413,7 +413,7 @@ extern int32 bpcharlen(char *arg); extern int32 bpcharoctetlen(char *arg); extern uint32 hashbpchar(struct varlena * key); -extern char *varcharin(char *s, int dummy, int16 atttypmod); +extern char *varcharin(char *s, int dummy, int32 atttypmod); extern char *varcharout(char *s); extern char *varchar(char *s, int32 slen); extern bool varchareq(char *arg1, char *arg2); diff --git a/src/include/utils/lsyscache.h b/src/include/utils/lsyscache.h index 6bc94a874ca..e7408dd34fd 100644 --- a/src/include/utils/lsyscache.h +++ b/src/include/utils/lsyscache.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: lsyscache.h,v 1.10 1998/02/26 04:44:07 momjian Exp $ + * $Id: lsyscache.h,v 1.11 1998/07/12 21:29:40 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -21,7 +21,7 @@ extern char *get_attname(Oid relid, AttrNumber attnum); extern AttrNumber get_attnum(Oid relid, char *attname); extern Oid get_atttype(Oid relid, AttrNumber attnum); extern bool get_attisset(Oid relid, char *attname); -extern int16 get_atttypmod(Oid relid, AttrNumber attnum); +extern int32 get_atttypmod(Oid relid, AttrNumber attnum); extern RegProcedure get_opcode(Oid opid); extern char *get_opname(Oid opid); extern bool -- cgit v1.2.3