]> granicus.if.org Git - postgresql/commit
Suppress leap-second-aware timezones in the output of pg_tzenumerate_next,
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 13 Nov 2008 20:49:38 +0000 (20:49 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 13 Nov 2008 20:49:38 +0000 (20:49 +0000)
commit312d51798ffb7060b672e1f3b0039639eefffdb4
tree5489f189394596e1261f96ee0f2e33ad59439949
parent10e3acb8e7bd3298ba2b942f86c18f5ba2e142a8
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.)
src/timezone/pgtz.c