More sensible character_octet_length
commit17c79afc059d0aacfa3c1bc1b77fa9ddc977d02c
authorpetere <petere>
Tue, 7 Jul 2009 18:23:15 +0000 (7 18:23 +0000)
committerpetere <petere>
Tue, 7 Jul 2009 18:23:15 +0000 (7 18:23 +0000)
tree40d2de1e3e0ede47852478a6e8b2cf9399e616f8
parent53ca57fb8d3bcf3c1dd23acd3732703aafa83787
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