pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: More tzdb fun: POSIXRULES is being deprecated upstream
Date: Thu, 18 Jun 2020 16:28:33 -0400
Message-ID: <1594652.1592512113@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+Tgmob_yg0CWmiPq9QKyOnqDLAsnm2CZEMp75KSDQz0K0_z2Q@mail.gmail.com>
References: <1390.1562258309@sss.pgh.pa.us>
	<1452646.1592417333@sss.pgh.pa.us>
	<1525464.1592454364@sss.pgh.pa.us>
	<CA+TgmobYz3UGPwc2pzTjwV9cADNQGz4XVMG0HT==qy4120=SgQ@mail.gmail.com>
	<1554171.1592499941@sss.pgh.pa.us>
	<CA+Tgmob_yg0CWmiPq9QKyOnqDLAsnm2CZEMp75KSDQz0K0_z2Q@mail.gmail.com>

Robert Haas <robertmhaas@gmail.com> writes:
> You could consider something along the lines of:

> This form specifies a transition that always happens during the same
> month and on the same day of the week. m identifies the month, from 1
> to 12. n specifies the n'th occurrence of the day number identified by
> d. n is a value between 1 and 4, or 5 meaning the last occurrence of
> that weekday in the month (which could be the fourth or the fifth). d
> is a value between 0 and 6, with 0 indicating Sunday.

Adopted with some minor tweaks.  Thanks for the suggestion!

			regards, tom lane





view thread (20+ messages)  latest in thread

Message-ID: <1594652.1592512113@sss.pgh.pa.us>
Permalink:  ../1594652.1592512113@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1594652.1592512113@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: More tzdb fun: POSIXRULES is being deprecated upstream
  In-Reply-To: <1594652.1592512113@sss.pgh.pa.us>

* 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