pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marko Tiikkaja <marko@joh.to>
To: Keith Fiske <keith@omniti.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Keith <keith@keithf4.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14322: Possible inconsistent behavior with timestamp_to_str()
Date: Tue, 13 Sep 2016 23:03:22 +0200
Message-ID: <08129d47-7952-dff2-e9e9-8a1b2bf706bd@joh.to> (raw)
In-Reply-To: <CAG1_KcA-RuEWO6BmmfXVGLj66ig437Cj2c8nc0UpwrhEL5PxHQ@mail.gmail.com>
References: <20160909235448.20021.79001@wrigleys.postgresql.org>
	<20160910000204.mbbfdxtw4t4oelzs@alap3.anarazel.de>
	<CAHw75vuZZSY_d+cH8WEBU6weKLQynHWx+a7WT4t-S9d8_1dk3g@mail.gmail.com>
	<CAG1_KcAHNz=-okj-SzxYEwWJYUv23otFrdBVm8CbYvhzn7Wi6A@mail.gmail.com>
	<28770.1473799942@sss.pgh.pa.us>
	<CAG1_KcA-RuEWO6BmmfXVGLj66ig437Cj2c8nc0UpwrhEL5PxHQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 2016-09-13 22:58, Keith Fiske wrote:
> No, it's obtained elsewhere by querying the current max timestamp value
> from the partition set.
> Shouldn't matter if it was, though. You can see that all it takes to change
> the string output of the timestamp is swapping the values around. The
> values of the variables are the same in either case.

Did you miss this part?

/* [ ... ] Note
  * also that the result is in a static buffer, not pstrdup'd.
  */


.m


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



view thread (10+ messages)  latest in thread

Message-ID: <08129d47-7952-dff2-e9e9-8a1b2bf706bd@joh.to>
Permalink:  ../08129d47-7952-dff2-e9e9-8a1b2bf706bd@joh.to/
Also on:    postgresql.org/message-id/08129d47-7952-dff2-e9e9-8a1b2bf706bd@joh.to

 · 

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-bugs@postgresql.org
  Cc: marko@joh.to, keith@omniti.com, tgl@sss.pgh.pa.us, keith@keithf4.com, andres@anarazel.de
  Subject: Re: BUG #14322: Possible inconsistent behavior with timestamp_to_str()
  In-Reply-To: <08129d47-7952-dff2-e9e9-8a1b2bf706bd@joh.to>
  References: <20160909235448.20021.79001@wrigleys.postgresql.org> <20160910000204.mbbfdxtw4t4oelzs@alap3.anarazel.de> <CAHw75vuZZSY_d+cH8WEBU6weKLQynHWx+a7WT4t-S9d8_1dk3g@mail.gmail.com> <CAG1_KcAHNz=-okj-SzxYEwWJYUv23otFrdBVm8CbYvhzn7Wi6A@mail.gmail.com> <28770.1473799942@sss.pgh.pa.us> <CAG1_KcA-RuEWO6BmmfXVGLj66ig437Cj2c8nc0UpwrhEL5PxHQ@mail.gmail.com> <08129d47-7952-dff2-e9e9-8a1b2bf706bd@joh.to>

* 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