diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-08-05 02:30:50 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-08-05 02:30:50 +0000 |
commit | 07f9682de43ce53fcd6d86744f610cacfabc60bb (patch) | |
tree | 2415db60be54912154c9c8f8834fb94f33fa5bca /src/include/utils/lsyscache.h | |
parent | ac1a3dcf24e182a1cc9a136246b7f18a8a64bbd5 (diff) | |
download | postgresql-07f9682de43ce53fcd6d86744f610cacfabc60bb.tar.gz postgresql-07f9682de43ce53fcd6d86744f610cacfabc60bb.zip |
Preliminary code review for anonymous-composite-types patch: fix breakage
of functions returning domain types, update documentation for typtype,
move get_typtype to lsyscache.c (actually, resurrect the old version),
add defense against creating pseudo-typed table columns, fix some
bogus list-parsing in grammar. Issues remain with respect to alias
handling and type checking; Joe is on those.
Diffstat (limited to 'src/include/utils/lsyscache.h')
-rw-r--r-- | src/include/utils/lsyscache.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/utils/lsyscache.h b/src/include/utils/lsyscache.h index ab06031b2c6..c03e1a241e2 100644 --- a/src/include/utils/lsyscache.h +++ b/src/include/utils/lsyscache.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: lsyscache.h,v 1.56 2002/08/02 18:15:09 tgl Exp $ + * $Id: lsyscache.h,v 1.57 2002/08/05 02:30:50 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -51,6 +51,7 @@ extern bool get_typbyval(Oid typid); extern void get_typlenbyval(Oid typid, int16 *typlen, bool *typbyval); extern char get_typstorage(Oid typid); extern Node *get_typdefault(Oid typid); +extern char get_typtype(Oid typid); extern Oid getBaseType(Oid typid); extern Oid getBaseTypeTypeMod(Oid typid, int32 *typmod); extern int32 get_typavgwidth(Oid typid, int32 typmod); |