diff options
author | Bruce Momjian <bruce@momjian.us> | 1998-07-12 21:29:40 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1998-07-12 21:29:40 +0000 |
commit | 683f399391cf3f553653c43cb324e44e8c85a4ad (patch) | |
tree | 905d2c8073c79bde1248a44044d28ef40774f2f3 /src/backend/utils/cache/lsyscache.c | |
parent | 647bbfb08604c9805f94cc6337e660ce8b450d82 (diff) | |
download | postgresql-683f399391cf3f553653c43cb324e44e8c85a4ad.tar.gz postgresql-683f399391cf3f553653c43cb324e44e8c85a4ad.zip |
Change atttypmod from int16 to int32, for Thomas.
Diffstat (limited to 'src/backend/utils/cache/lsyscache.c')
-rw-r--r-- | src/backend/utils/cache/lsyscache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/utils/cache/lsyscache.c b/src/backend/utils/cache/lsyscache.c index 08ee8ea2dd8..97b739195e6 100644 --- a/src/backend/utils/cache/lsyscache.c +++ b/src/backend/utils/cache/lsyscache.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.14 1998/06/15 19:29:40 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.15 1998/07/12 21:29:24 momjian Exp $ * * NOTES * Eventually, the index information should go through here, too. @@ -161,7 +161,7 @@ get_attisset(Oid relid, char *attname) * return the "atttypmod" field from the attribute relation. * */ -int16 +int32 get_atttypmod(Oid relid, AttrNumber attnum) { FormData_pg_attribute att_tup; @@ -169,7 +169,7 @@ get_atttypmod(Oid relid, AttrNumber attnum) if (SearchSysCacheStruct(ATTNUM, (char *) &att_tup, ObjectIdGetDatum(relid), - UInt16GetDatum(attnum), + Int32GetDatum(attnum), 0, 0)) return att_tup.atttypmod; else |