Doc: warn that timezone abbreviations don't work in recovery_target_time.
authorTom Lane
Tue, 5 May 2020 20:06:49 +0000 (16:06 -0400)
committerTom Lane
Tue, 5 May 2020 20:06:49 +0000 (16:06 -0400)
Moving this setting into the main configuration file was ill-considered,
perhaps, because that typically causes it to be set before
timezone_abbreviations has been set.  Which in turn means that zone
abbreviations don't work, only full zone names.

We could imagine hacking things so that such cases do work, but the
stability of the hack would be questionable, and the value isn't really
that high.  Instead just document that you should use a numeric zone
offset or a full zone name.

Per bug #16404 from Reijo Suhonen.
Back-patch to v12 where this was changed.

Discussion: https://postgr.es/m/16404-4603a99603fbd04c@postgresql.org

doc/src/sgml/config.sgml

index 1cab578bad3e171c8a6600381244e6025a0f95da..e5041aca7c638693a6d0fa54edcc0d6781d99d42 100644 (file)
@@ -3410,6 +3410,16 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"'  # Windows
         The precise stopping point is also influenced by
         .
        
+
+       
+        The value of this parameter is a time stamp in the same format
+        accepted by the timestamp with time zone data type,
+        except that you cannot use a time zone abbreviation (unless the
+         variable has been set
+        earlier in the configuration file).  Preferred style is to use a
+        numeric offset from UTC, or you can write a full time zone name,
+        e.g. Europe/Helsinki not EEST.
+