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 1iv2w5-00082F-L5 for pgsql-general@arkaria.postgresql.org; Fri, 24 Jan 2020 17:40:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iv2w4-00040Y-EL for pgsql-general@arkaria.postgresql.org; Fri, 24 Jan 2020 17:40:00 +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 1iv2w2-000401-OD for pgsql-general@lists.postgresql.org; Fri, 24 Jan 2020 17:40:00 +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 1iv2vy-0007Zs-6m for pgsql-general@lists.postgresql.org; Fri, 24 Jan 2020 17:39:58 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 8720A21E6A; Fri, 24 Jan 2020 12:39:52 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 24 Jan 2020 12:39:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:from:to:references:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=q V9XLzCBHzBULX+Bkr8NK4Y7ylzbQKlM+/CTJotbDp0=; b=s/EvyjdgkUuRXrIRT tDUicaQ80mFi9gmDGlTQdQT/1BDnhC6uHiNYgCKxpkQ1VXvYcTiYU+g885NEyLe4 DqYZ+Ydts4irg88Vy6vCUtV8yR+fS7au7J/Yn7oqo+miA5xPcDMTyKRnAnr2+PiA ZjBmMT0alIlMxVbhIm4uq5QYFaIUdpNKK8O92sUSNAEjDmEzxjkYNGF/DkBmB0VZ rKp3mAN3EOb/84yVQ3YpGnNVDw2dnFs0oW6KIMuvKhGAdN2+DguSNXk7iAgDSBtL dniJIg327dKH80N0d+Txg/gii4EXoNVHj+VQKLEyA8u2JxUYokOjLHKudn4+x1hE lPElw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=qV9XLzCBHzBULX+Bkr8NK4Y7ylzbQKlM+/CTJotbD p0=; b=mUfPNkPA8dbu8889n3GmuCpmqNlMa+ou49ZB619+sev0OiNzGHf2OVIAv 34Nbj8Ssow0GJhlvJylgL9TXUDU1ofMHiQxCyZAL9Q4jR7KRG3FfTsDr6TERDH8l lHATJwhABKGQNuHYxEnZ/hMpQlG+svqwdh075D7iiNT5Ml4csn7uU+gXw0EELLeT ZY7x1XDfge9k8s2q4/74bgf2owh67iqN2zeMfw0rPI0vYZWp9h6PWR2FpK7NRDQ6 f7KPZ2wroWFrid5f6sJspEVWtrtPplbGrZD9WkjgsFyXDwWUqxlhlCQA+EsKOeVX R+AnKxldTYN2wfv8+bydP41kiB8DQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrvdeggddutddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffhvfhfkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhi 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 D3D0730619FB; Fri, 24 Jan 2020 12:39:51 -0500 (EST) Subject: Re: Time zone "GST" not recognized. From: Adrian Klaver To: nikhil raj , pgsql-general@lists.postgresql.org References: Message-ID: <2e64be1d-46e2-bfa4-bf6a-30455e237197@aklaver.com> Date: Fri, 24 Jan 2020 09:39:51 -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: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