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 1iv2c2-000754-0V for pgsql-general@arkaria.postgresql.org; Fri, 24 Jan 2020 17:19:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iv2c0-0000Wg-QP for pgsql-general@arkaria.postgresql.org; Fri, 24 Jan 2020 17:19:16 +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 1iv2c0-0000WZ-Gg for pgsql-general@lists.postgresql.org; Fri, 24 Jan 2020 17:19:16 +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 1iv2bx-0007Qj-Ni for pgsql-general@lists.postgresql.org; Fri, 24 Jan 2020 17:19:16 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 7420D21EC3; Fri, 24 Jan 2020 12:19:11 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 24 Jan 2020 12:19:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=0 5qcMvWj9uK66AO/KPVIU3rgkFTQq3WUZXQuzvnb6Es=; b=g6P5i9w6NdtrC70Uz QHev2jT/maA0eYdlR+KDwdgcqubY4xyLYPQ4rT7PkvhD2IB4COzM+uBr3t3MAPBG AjCl3e/VnIl4NMtwmyNLxBlX9e146eP+vL05g0tZw19Xng2xluz/BQ/UKDpKbVUX GfTsftIFHcSeT+3zLoHbWBzP+Oalzv8w8tlfF9wdZChMO6YoH1C32caQX9DMDL8r 1ndGuFexuVbHqy9XA1gDqUVYRsatYU0L0ihczcVqjVz3b1OcrjtoouuhI1MtugOC LhQJs47z60hgmt6zlNlQ2mCm/R7bnYbMFvMB8KvdStaU4QYgn5LMKvHl48w3YtsA 3wYkA== 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=05qcMvWj9uK66AO/KPVIU3rgkFTQq3WUZXQuzvnb6 Es=; b=b5FqjBjBO+2kki+QJzkqA0fXeZCC3MtmizS6bmAJjPdJovEkq/OPGRRjJ At5jGMjC4RAhISrNRuZQM0xw/iJZbxb0zGYUaRlYVzpqwM7sgz6DJntbtNt5SnWK eMA8pzG+BAXffMubq7/cktPCGV18S/1jOTOA0Tza0NU4TAjJSByzFWRzd75vDNr3 9CZriq9OM/1vFek3qpo06iOCT9ytHpm+2UWtf3yZBE5XV2rLAq+ZzPYpNG+HUV+S IWQaibvTEyz8U0QViKaneacxado+i34oGFZU26tNHY/KCLO0hhXQ5Fm90UTID4jt d5vD5MZL/58ZmCzWK92lEVTYb7H6Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrvdeggdelkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghenucfkphepjeefrddvfeel rdduudejrddvfeeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh 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 DB9D7306189B; Fri, 24 Jan 2020 12:19:10 -0500 (EST) Subject: Re: Time zone "GST" not recognized. To: nikhil raj , pgsql-general@lists.postgresql.org References: From: Adrian Klaver Message-ID: Date: Fri, 24 Jan 2020 09:19:09 -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: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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 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