• Tom Lane's avatar
    Fix the various forms of AT TIME ZONE to accept either timezones found · a239af02
    Tom Lane authored
    in the zic database or zone names found in the date token table.  This
    preserves the old ability to do AT TIME ZONE 'PST' along with the new
    ability to do AT TIME ZONE 'PST8PDT'.  Per gripe from Bricklen Anderson.
    Also, fix some inconsistencies in usage of TZ_STRLEN_MAX --- the old
    code had the potential for one-byte buffer overruns, though given
    alignment considerations it's unlikely there was any real risk.
    a239af02
pgtz.c 30.8 KB