• Peter Eisentraut's avatar
    Copy collencoding in CREATE COLLATION / FROM · 54baa481
    Peter Eisentraut authored
    This command used to compute the collencoding entry like when a
    completely new collation is created.  But for example when copying the
    "C" collation, this would then result in a collation that has a
    collencoding entry for the current database encoding rather than -1,
    thus not making an exact copy.  This has probably no practical impact,
    but making this change keeps the catalog contents neat.
    Reported-by: default avatarTom Lane <tgl@sss.pgh.pa.us>
    54baa481
collationcmds.c 20.6 KB