Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iv3IP-0000rX-Ql for pgsql-general@arkaria.postgresql.org; Fri, 24 Jan 2020 18:03:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iv3IO-0000Z7-Mp for pgsql-general@arkaria.postgresql.org; Fri, 24 Jan 2020 18:03:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iv3IO-0000Z0-Dd for pgsql-general@lists.postgresql.org; Fri, 24 Jan 2020 18:03:04 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iv3IL-0007uy-N5 for pgsql-general@lists.postgresql.org; Fri, 24 Jan 2020 18:03:04 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 7042621B03; Fri, 24 Jan 2020 13:03:00 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 24 Jan 2020 13:03:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=Y UCzEDKQC9dTJN2tdTm6QSEbh9rvNe/N6db0U6+ujvs=; b=C01rbd6NXYhJ5xbkB jXPuCvWlUuJ6PKv9owX3rqXNRjIn1vpydu7VY1RbUf0G5GEPsmNipYWWbWYPa6ik yMAYvR/UoZ8/KlLzOVeDSWu7R3gfsq+EIqHsrfoGyOM61pxwST6VhQfDVjmX7MKY fdF2aZjilSSez6UL8a8ip+7BXrGI3cpupED8CfZg2aOjszpDkJNRbeKnQAcR0b2R WvqX5cmSYnwUUmMmIW9/krBz6GMKP0VPnwTo0rgHn3HHqrqrTbXaqXRtwUnz66X8 oiIt1KxEbNQlj0HNQbOlt8V/alb1m59U4752gxOSUADZOUMawqc6E/cEV3Re/PEf BWCCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=YUCzEDKQC9dTJN2tdTm6QSEbh9rvNe/N6db0U6+uj vs=; b=uUpGnwCZBC/nh+N45mgpRvk1if7TyBDECHzf/d/jWmblqcJzXRe13/xyY n3SBtmZt+Uey2lzqyug03QpszTjqPuY5LDevGf4o781nCvxHwDBuugNNq9bzBO8C MvCEMnu+ppv2PWekaLH+sTizoc21tcDonc/oboGPgr4DQnFHv2O4ej2tNOKgR3SY Bx3CWMldXZnQXqyjuEvIky9F4xm/OUCi0PKpa4kHeMmHfzszofDIf0bxSu9E/4Vh VeUPRMYsOAmIwNAWhC8p7fLwcHQH71VStpsIe76RSgjY1JJFnCCxMwest80Dh8ji mb8RTBtrQCF4iVIaWMUNY6Q8y0HOQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrvdeggddutdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucffohhmrghinhepvdegthhimhgviihonhgvshdrtghomhdpphhoshhtghhrvghs qhhlrdhorhhgnecukfhppeejfedrvdefledruddujedrvdefkeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghr segrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: from ranger.suse (c-73-239-117-238.hsd1.wa.comcast.net [73.239.117.238]) by mail.messagingengine.com (Postfix) with ESMTPA id C981130612BA; Fri, 24 Jan 2020 13:02:59 -0500 (EST) Subject: Re: Time zone "GST" not recognized. To: nikhil raj Cc: pgsql-general@lists.postgresql.org References: <2e64be1d-46e2-bfa4-bf6a-30455e237197@aklaver.com> From: Adrian Klaver Message-ID: Date: Fri, 24 Jan 2020 10:02:58 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 1/24/20 9:57 AM, nikhil raj wrote: > Hi Adrian, > > Thanks for the quick response. > > Please can you help me over here So Postgres is not supporting GST ( > Gulf Standard Time) time zone .  As if we have a entries of few things > with timestamp with time zone  from application end. > > example :- In 2 column we are entering these details but when client > from GST time zone i am getting 21:41:39 GST What is the type definition for the database column you are entering the data in? Are you entering these by hand? What happens if you use Asia/Dubai or Asia/Muscat as the time zone? > > image.png > > but which i insert into the databases is showing empty column. > > On Fri, Jan 24, 2020 at 11:09 PM Adrian Klaver > > wrote: > > On 1/24/20 9:19 AM, Adrian Klaver wrote: > > On 1/24/20 8:59 AM, nikhil raj wrote: > >> Hi ALL, > >> > >> Required help with the time zone. i am getting error on the GST > time > >> line. is tht a bug or postgres doesn't support the GST time zone. > >> > >> > >> select CURRENT_TIMESTAMP AT TIME ZONE 'GST' > >> ERROR: time zone "GST" not recognized SQL state: 22023 > > > > Try GMT: > > > > test_(postgres)# select CURRENT_TIMESTAMP AT TIME ZONE 'GMT'; > >            timezone > > ---------------------------- > >   2020-01-24 17:17:52.754861 > > Aah, is this what you are looking for?: > > https://24timezones.com/time-zone/gst > > It seems to be an alias for UTC+04, though not recognized by IANA. That > would be: > > Asia/Dubai or Asia/Muscat > > Unless you are talking about: > > https://24timezones.com/time-zone/gst_georgia > > > > > For list of recognized abbreviations: > > > > https://www.postgresql.org/docs/11/view-pg-timezone-abbrevs.html > > > >> > >> > >> Postgres -:11.2 > >> Ubuntu:-18.04 > >> > > > > > > > -- > Adrian Klaver > adrian.klaver@aklaver.com > -- Adrian Klaver adrian.klaver@aklaver.com