pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Keith Fiske <keith@omniti.com>
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 16:52:22 -0400
Message-ID: <28770.1473799942@sss.pgh.pa.us> (raw)
In-Reply-To: <CAG1_KcAHNz=-okj-SzxYEwWJYUv23otFrdBVm8CbYvhzn7Wi6A@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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Keith Fiske <keith@omniti.com> writes:
> Ok, this may be more of an actual issue than I thought. It seems that, even
> if all variables to the timestamptz_to_str() function have a valid value
> set, if it is called multiple times in the same statement, it keeps the
> first value for all following occurrences.

What is current_partition_timestamp?  Is it coming from the transaction
timestamp?  That doesn't change intra-statement ...

			regards, tom lane


-- 
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: <28770.1473799942@sss.pgh.pa.us>
Permalink:  ../28770.1473799942@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28770.1473799942@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 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: tgl@sss.pgh.pa.us, keith@omniti.com, keith@keithf4.com, andres@anarazel.de
  Subject: Re: BUG #14322: Possible inconsistent behavior with timestamp_to_str()
  In-Reply-To: <28770.1473799942@sss.pgh.pa.us>
  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>

* 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