Thomas Hallgren <[EMAIL PROTECTED]> writes: > I think the number of charset/collation combinations will be relatively > few so perhaps it would be space efficient to maintain a table where > each combination is given an oid and have string values store that > rather than two separate oid's?
In fact, we should do our best to get the overhead down to 1 or 2 bytes. Two OIDs (8 bytes) is ridiculous. I'm not sure if 1 byte is enough or not --- there might be more than 256 charsets/collations to support. 2 ought to be plenty though. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org