Thread: pgsql: Suppress leap-second-aware timezones in the output of

pgsql: Suppress leap-second-aware timezones in the output of

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Suppress leap-second-aware timezones in the output of pg_tzenumerate_next,
and thereby in the pg_timezone_names view.  Although we allow such zones
to be used in certain limited contexts like AT TIME ZONE, we don't allow
them in SET TIME ZONE, and bug #4528 shows that they're more likely to
confuse users than do anything useful.  So hide 'em.  (Note that we don't
even generate these zones when installing our own timezone database.
But they are likely to be present when using a system-provided database.)

Modified Files:
--------------
    pgsql/src/timezone:
        pgtz.c (r1.60 -> r1.61)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/timezone/pgtz.c?r1=1.60&r2=1.61)