More sensible character_octet_length
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 7 Jul 2009 18:23:15 +0000 (18:23 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 7 Jul 2009 18:23:15 +0000 (18:23 +0000)
commite292dbcf543183fa6eae98c377b3939d08794676
treef00e066652378c783019966de30fc224cb0a41ec
parent788d8e513953b580de8b93543d963d28009b031d
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.
doc/src/sgml/information_schema.sgml
src/backend/catalog/information_schema.sql
src/backend/utils/mb/mbutils.c
src/include/catalog/catversion.h
src/include/catalog/pg_proc.h
src/include/utils/builtins.h