pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Devrim Gündüz <devrim@gunduz.org>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: drop support for Python 2.3
Date: Sun, 19 Feb 2017 16:20:28 -0500
Message-ID: <633.1487539228@sss.pgh.pa.us> (raw)
In-Reply-To: <1487535029.3796.1.camel@gunduz.org>
References: <7d5073f6-d9ea-ab09-4805-69a12f23e52f@2ndquadrant.com>
	<9516.1486529343@sss.pgh.pa.us>
	<adb38a71-0aa7-087d-2791-4987f3026244@2ndquadrant.com>
	<1486568115.5462.50.camel@gunduz.org>
	<0e2fd256-0a3a-bae8-4ef2-c536139c64cb@2ndquadrant.com>
	<1487493740.2748.13.camel@gunduz.org>
	<797.1487517822@sss.pgh.pa.us>
	<1453.1487518921@sss.pgh.pa.us>
	<1487527748.2748.37.camel@gunduz.org>
	<24334.1487530091@sss.pgh.pa.us>
	<1487535029.3796.1.camel@gunduz.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= <devrim@gunduz.org> writes:
> On Sun, 2017-02-19 at 13:48 -0500, Tom Lane wrote:
>> Or conceivably it's timezone dependent?

> FWIW, the timezone of the server is GMT+3, if that is what you are asking.

Well, that test is checking which week-of-the-year a Sunday midnight is
considered to fall into.  There could be an edge-case bug in Tcl itself,
or a problem with the time zone data, or maybe if you're setting LC_TIME
to tr_TR, that changes whether weeks are considered to start on Sunday
or Monday?  Although if that were the explanation I'd have expected this
test to fail in tr_TR locale on pretty much any platform.  Weird.

Whatever, even if it's a bug it's not our bug.  I've adjusted the test to
check the following Tuesday, so as to dodge the edge case.

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (19+ messages)  latest in thread

Message-ID: <633.1487539228@sss.pgh.pa.us>
Permalink:  ../633.1487539228@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/633.1487539228@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, devrim@gunduz.org, peter.eisentraut@2ndquadrant.com
  Subject: Re: drop support for Python 2.3
  In-Reply-To: <633.1487539228@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