Timezone handling with timestamp without time zone columns - Mailing list pgsql-general

From Nandish Bhuva
Subject Timezone handling with timestamp without time zone columns
Date
Msg-id YT4P288MB01507D63F23F6B505AEB759E8375A@YT4P288MB0150.CANP288.PROD.OUTLOOK.COM
Whole thread Raw
Responses Re: Timezone handling with timestamp without time zone columns
List pgsql-general
Hi Team,
I would like to report a timezone-related issue we are encountering in our PostgreSQL database.
We have two columns:
Both columns are defined as timestamp without time zone.
Currently, we are observing the following values:
Our entire application runs in the Canada/Pacific timezone. However, when comparing these two timestamps in our queries, we are getting incorrect results in the system.
It appears that:
We would like clarification on the recommended approach to handle this scenario. Specifically:
Please advise on the best practice to ensure consistent timezone handling and accurate comparisons going forward.
Thanks in advance for your support.


Regards,
Nandish Bhuva
Attachment

pgsql-general by date:

Previous
From: KK CHN
Date:
Subject: Re: pgbackrest after a network outage unable to perform backup [fails always]
Next
From: PALAYRET Jacques
Date:
Subject: PostgreSQL query with FULL OUTER JOIN and subquery using column of GROUP BY expression ERROR: subquery uses ungrouped column from outer query