• Tom Lane's avatar
    Fix handling of collations in multi-row VALUES constructs. · 918854cc
    Tom Lane authored
    Per spec we ought to apply select_common_collation() across the expressions
    in each column of the VALUES table.  The original coding was just taking
    the first row and assuming it was representative.
    
    This patch adds a field to struct RangeTblEntry to carry the resolved
    collations, so initdb is forced for changes in stored rule representation.
    918854cc
catversion.h 2.53 KB