diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2001-10-08 19:55:07 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2001-10-08 19:55:07 +0000 |
commit | 1c7bef32b46ac602d5478314dcfe1154858e970e (patch) | |
tree | ca2d01be2fe12ecbae2bf40ff1ed4911cd47817c /src/include/utils/builtins.h | |
parent | b6a79482942b45ebc2b70e86fd30ec97f7817701 (diff) |
Fix ruleutils to depend on format_type, rather than having a private
copy of code that knows about displaying types with typmod info.
Needed so that it does the right thing with timestamp datatypes now.
Diffstat (limited to 'src/include/utils/builtins.h')
-rw-r--r-- | src/include/utils/builtins.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h index 0f0c9e15a8a..e9b52e7cb47 100644 --- a/src/include/utils/builtins.h +++ b/src/include/utils/builtins.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: builtins.h,v 1.165 2001/09/28 08:09:14 thomas Exp $ + * $Id: builtins.h,v 1.166 2001/10/08 19:55:07 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -598,6 +598,7 @@ extern Datum pg_convert2(PG_FUNCTION_ARGS); /* format_type.c */ extern Datum format_type(PG_FUNCTION_ARGS); extern char * format_type_be(Oid type_oid); +extern char * format_type_with_typemod(Oid type_oid, int32 typemod); extern Datum oidvectortypes(PG_FUNCTION_ARGS); extern int32 type_maximum_size(Oid type_oid, int32 typemod); |