• Heikki Linnakangas's avatar
    Minor refactoring of jsonb_util.c · d1d50bff
    Heikki Linnakangas authored
    The only caller of compareJsonbScalarValue that needed locale-sensitive
    comparison of strings was also the only caller that didn't just check for
    equality. Separate the two cases for clarity: compareJsonbScalarValue now
    does locale-sensitive comparison, and a new function,
    equalsJsonbScalarValue, just checks for equality.
    d1d50bff
jsonb_util.c 43 KB