diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2009-07-07 18:23:15 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2009-07-07 18:23:15 +0000 |
commit | e292dbcf543183fa6eae98c377b3939d08794676 (patch) | |
tree | f00e066652378c783019966de30fc224cb0a41ec /src/include/utils/builtins.h | |
parent | 788d8e513953b580de8b93543d963d28009b031d (diff) | |
download | postgresql-e292dbcf543183fa6eae98c377b3939d08794676.tar.gz postgresql-e292dbcf543183fa6eae98c377b3939d08794676.zip |
More sensible character_octet_length
For character types with typmod, character_octet_length columns in the
information schema now show the maximum character length times the
maximum length of a character in the server encoding, instead of some
huge value as before.
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 06d8e04d1d6..de9adb87b34 100644 --- a/src/include/utils/builtins.h +++ b/src/include/utils/builtins.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.332 2009/03/09 14:34:34 petere Exp $ + * $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.333 2009/07/07 18:23:15 petere Exp $ * *------------------------------------------------------------------------- */ @@ -948,6 +948,7 @@ extern Datum pg_convert(PG_FUNCTION_ARGS); extern Datum pg_convert_to(PG_FUNCTION_ARGS); extern Datum pg_convert_from(PG_FUNCTION_ARGS); extern Datum length_in_encoding(PG_FUNCTION_ARGS); +extern Datum pg_encoding_max_length_sql(PG_FUNCTION_ARGS); /* format_type.c */ extern Datum format_type(PG_FUNCTION_ARGS); |