pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Palle Girgensohn <girgen@pingpong.net>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Chris Withers <chris@withers.org>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Cc: pgsql@freebsd.org <pgsql@freebsd.org>
Subject: Re: here does postgres take its timezone information from?
Date: Sun, 17 Nov 2019 12:45:42 +0100
Message-ID: <1AF1B1D9-16C7-4FE7-8BA5-4CCC8D38CC02@pingpong.net> (raw)
In-Reply-To: <CA+hUKG+F8eqWurdBsfgQ7qf=x2MdXQML+_1TUajeDuokjPadBQ@mail.gmail.com>
References: <653e0b33-84d7-642b-2692-eb68e5f86709@withers.org>
	<4cfd4b1b-5135-6329-5cf7-bae73929dfeb@aklaver.com>
	<0589cad7-4841-afbd-8cc6-c4b050ca466c@withers.org>
	<0b76a023-3fdf-cb61-f4c3-a8ff4ba5b4e9@aklaver.com>
	<CA+hUKGLmEZU=FeSUWsci_DUASu4Pcx0qHa8=FDybHeXWqR8v4g@mail.gmail.com>
	<18417.1573003209@sss.pgh.pa.us>
	<CA+hUKGKuR++af7bRCNvH_sBrKRUxGf+R=kD2LAGaQYE4Ba7sfQ@mail.gmail.com>
	<E8B887D2-D5A8-4217-ADD6-A7AC0BDF8750@pingpong.net>
	<12931.1573846697@sss.pgh.pa.us>
	<CA+hUKGJZBEF3XHxJEp=muxpELFpnN__QJHA7v1vUSdz9RmBM7g@mail.gmail.com>
	<3BE294B4-9232-4EBF-B3DD-90E1C5E978E2@pingpong.net>
	<6658.1573884775@sss.pgh.pa.us>
	<CA+hUKG+F8eqWurdBsfgQ7qf=x2MdXQML+_1TUajeDuokjPadBQ@mail.gmail.com>



> 16 nov. 2019 kl. 23:06 skrev Thomas Munro <thomas.munro@gmail.com>:
> 
> On Sat, Nov 16, 2019 at 7:13 PM Tom Lane <tgl@sss.pgh.pa.us <mailto:tgl@sss.pgh.pa.us>> wrote:
>> Palle Girgensohn <girgen@pingpong.net> writes:
>>> 15 nov. 2019 kl. 21:32 skrev Thomas Munro <thomas.munro@gmail.com>:
>>>> Ugh.  It doesn't have the old backward compatibility names like
>>>> US/Pacific installed by default, which is a problem if that's what
>>>> initdb picked for your cluster (or you've stored references to any of
>>>> those names in other ways).
>> 
>>> One quick fix is to revert the change. Tom thinks this is not reason to revert. Would it be enough to edit the postgresql.conf to use the correct "modern" name for US/Pacific (PST?)? In rhar case, an update note might be sufficient?
>> 
>> I think the "official" name of that zone is America/Los_Angeles.
>> But initdb might seize on the US/Pacific alias, if available,
>> because it's shorter.  We've seen related problems with other
>> time zone names, though usually it was just cosmetic and not a
>> reason for the postmaster to fail to start.
>> 
>> Yes, changing the zone name in postgresql.conf should be a sufficient
>> fix.  In theory, a FreeBSD user ought to know the "official" alias
>> for their zone, since the rest of the system would expect that.
>> So this is slightly tedious if initdb chose a non-official alias,
>> but I don't think it's reason to panic.
> 
> Perhaps the best thing would be to revert this for the older
> PostgreSQL releases so that people doing minor version upgrades are
> inconvenienced by a system that can't start up after "pkg upgrade",
> but do it for 12 since not many people will be using that yet?

That could be a way, yes. Any thoughts on this from others following this thread?

Palle

view thread (21+ messages)  latest in thread

Message-ID: <1AF1B1D9-16C7-4FE7-8BA5-4CCC8D38CC02@pingpong.net>
Permalink:  ../1AF1B1D9-16C7-4FE7-8BA5-4CCC8D38CC02@pingpong.net/
Also on:    postgresql.org/message-id/1AF1B1D9-16C7-4FE7-8BA5-4CCC8D38CC02@pingpong.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: girgen@pingpong.net, thomas.munro@gmail.com, tgl@sss.pgh.pa.us, adrian.klaver@aklaver.com, chris@withers.org, pgsql@freebsd.org
  Subject: Re: here does postgres take its timezone information from?
  In-Reply-To: <1AF1B1D9-16C7-4FE7-8BA5-4CCC8D38CC02@pingpong.net>
  References: <653e0b33-84d7-642b-2692-eb68e5f86709@withers.org> <4cfd4b1b-5135-6329-5cf7-bae73929dfeb@aklaver.com> <0589cad7-4841-afbd-8cc6-c4b050ca466c@withers.org> <0b76a023-3fdf-cb61-f4c3-a8ff4ba5b4e9@aklaver.com> <CA+hUKGLmEZU=FeSUWsci_DUASu4Pcx0qHa8=FDybHeXWqR8v4g@mail.gmail.com> <18417.1573003209@sss.pgh.pa.us> <CA+hUKGKuR++af7bRCNvH_sBrKRUxGf+R=kD2LAGaQYE4Ba7sfQ@mail.gmail.com> <E8B887D2-D5A8-4217-ADD6-A7AC0BDF8750@pingpong.net> <12931.1573846697@sss.pgh.pa.us> <CA+hUKGJZBEF3XHxJEp=muxpELFpnN__QJHA7v1vUSdz9RmBM7g@mail.gmail.com> <3BE294B4-9232-4EBF-B3DD-90E1C5E978E2@pingpong.net> <6658.1573884775@sss.pgh.pa.us> <CA+hUKG+F8eqWurdBsfgQ7qf=x2MdXQML+_1TUajeDuokjPadBQ@mail.gmail.com> <1AF1B1D9-16C7-4FE7-8BA5-4CCC8D38CC02@pingpong.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox