pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: 甄明洋 <zhenmingyang@yeah.net>
To: pgsql-bugs@postgresql.org
Subject: setting the timezone parameter with space cause diff result
Date: Tue, 8 Jun 2021 16:17:09 +0800 (CST)
Message-ID: <37c04704.1327.179eab261fd.Coremail.zhenmingyang@yeah.net> (raw)

steps ro reproduce:
postgres=# set timezone='+04:00';
SET
postgres=# select now();
              now              
-------------------------------
 2021-06-08 04:14:26.994218-04
(1 row)


/* timezone string with space */
postgres=# set timezone=' +04:00 ';
SET
postgres=# select now();
              now              
-------------------------------
 2021-06-08 05:14:36.486693-03
(1 row)


postgres=#

view thread (5+ messages)  latest in thread

Message-ID: <37c04704.1327.179eab261fd.Coremail.zhenmingyang@yeah.net>
Permalink:  ../37c04704.1327.179eab261fd.Coremail.zhenmingyang@yeah.net/
Also on:    postgresql.org/message-id/37c04704.1327.179eab261fd.Coremail.zhenmingyang@yeah.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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: zhenmingyang@yeah.net
  Subject: Re: setting the timezone parameter with space cause diff result
  In-Reply-To: <37c04704.1327.179eab261fd.Coremail.zhenmingyang@yeah.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