• Peter Eisentraut's avatar
    Initialize new jsonb iterator to zero · 3c9cf069
    Peter Eisentraut authored
    Use palloc0() instead of palloc() to create a new JsonbIterator.
    Otherwise, the isScalar field is sometimes not initialized.  There is
    probably no impact in practice, but it's cleaner this way and it avoids
    future problems.
    3c9cf069
jsonb_util.c 50.7 KB