• Tom Lane's avatar
    Fix assorted infelicities in collation handling in psql's describe.c. · c29abc8b
    Tom Lane authored
    In \d, be more careful to print collation only if it's not the default for
    the column's data type.  Avoid assuming that the name "default" is magic.
    
    Fix \d on a composite type so that it will print per-column collations.
    It's no longer the case that a composite type cannot have modifiers.
    (In consequence, the expected outputs for composite-type regression tests
    change.)
    
    Fix \dD so that it will print collation for a domain, again only if it's
    not the same as the base type's collation.
    c29abc8b
collate.linux.utf8.out 25.6 KB