From: Om Prakash Jaiswal <op12om@yahoo.co.in>
To: Postgres General <pgsql-general@postgresql.org>
To: Postgres List <pgsql-sql@postgresql.org>
Subject: Getting wrong time using now()
Date: Tue, 12 Feb 2019 23:36:06 +0000 (UTC)
Message-ID: <747290055.2254380.1550014566188@mail.yahoo.com> (raw)
References: <747290055.2254380.1550014566188.ref@mail.yahoo.com>
Create table service_record(Id into, time timestamp without time zone default now()).Postgresql version 9.6.6, RHEL7.6 , when I am executing the query. I am getting time 5:30hours behind current time. Please solve it
RegardsOm PrakashBangalore, India
Sent from Yahoo Mail on Android
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-general@postgresql.org
Cc: op12om@yahoo.co.in, pgsql-sql@postgresql.org
Subject: Re: Getting wrong time using now()
In-Reply-To: <747290055.2254380.1550014566188@mail.yahoo.com>
References: <747290055.2254380.1550014566188.ref@mail.yahoo.com> <747290055.2254380.1550014566188@mail.yahoo.com>
* 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