• Tom Lane's avatar
    Revert addition of third argument to format_type(). · 7564654a
    Tom Lane authored
    Including collation in the behavior of that function promotes a world view
    we do not want.  Moreover, it was producing the wrong behavior for pg_dump
    anyway: what we want is to dump a COLLATE clause on attributes whose
    attcollation is different from the underlying type, and likewise for
    domains, and the function cannot do that for us.  Doing it the hard way
    in pg_dump is a bit more tedious but produces more correct output.
    
    In passing, fix initdb so that the initial entry in pg_collation is
    properly pinned.  It was droppable before :-(
    7564654a
pg_dump.c 401 KB