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)
commitc0445f1e2ce2f4f0a47fd641a5b7221da836fe72
tree527d57fb701c05b89e0c85e8f51b3b652a0ac09b
parent8e9a7f3439f2a1eb0355e657198ca12b369bb22b
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