Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lPTN6-0002Cl-8t for pgsql-admin@arkaria.postgresql.org; Thu, 25 Mar 2021 17:02:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lPTN4-0001i4-Qv for pgsql-admin@arkaria.postgresql.org; Thu, 25 Mar 2021 17:02:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lPTN4-0001fv-DN for pgsql-admin@lists.postgresql.org; Thu, 25 Mar 2021 17:02:10 +0000 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lPTN0-0000X9-Qc for pgsql-admin@lists.postgresql.org; Thu, 25 Mar 2021 17:02:09 +0000 Received: by mail-ed1-x52a.google.com with SMTP id bx7so3200793edb.12 for ; Thu, 25 Mar 2021 10:02:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=uliHZ8+TRG14fYy8CbKceKBv+0Sl5Fvry95+U00mruo=; b=gSXL0YYPfV8Jq3DIfLGh4YXHlnBV6/gBexknu1/ttGoEWcNGVaAt5lmRjavoR57TMo lL8HEQUJmyyHr2U6QQperhbtG2GJ47a8deFRJmS/LPIUjtpNxQUikelCPqLce65v1n0R wTakbZt6MBQdnWoJ23skgOFPqbX5TFGxe9Xo7tolquZcCYPFTEG8zd6OiLFK4JQxa8Au g0rYSQgO3U0lqvJJlBhox0BQRAkgMKGLhln5j+cX/r33GAtjeEMfngazZZIuLrS9dRfl ej6+0BvfGJrEzCqUkvmiLMd6gbKNwN1rIu9SXbDHnkzeHSjVz9EWqGwZlxidHuOWBCGU oIbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=uliHZ8+TRG14fYy8CbKceKBv+0Sl5Fvry95+U00mruo=; b=jk+bNEdbl46MkPlfiXNqQkVKeyrJZy5yUgCaUcXJWt1/JgDJB2rd6t6pe/zJDTkZa3 Vq+E/MHh+3SHgUXd0CzFbvJIjMo89gTzqxsQWg3+/ItrcM8FoF9eWk+KLIo7vJagGdvx Dv4ME4s88hnKBEyg1Kyzo/jXFFkKVD+RvoR3MEq2XMpw4rTSlpcHnbqt1c8J3UiAtsh3 ZsKoAf6alHUNZ4i2dB78pTJQKwQgYH1J2Askrzt/hLfDiQoyvB0zxw09khnbsUbyTXxH JHt0j6BH+iKZP9+pZVgWnFr/zmlxZZDVAasKZ/YYAt1/KUfO1jI0bxviYgWuz8qrG0E8 o2jg== X-Gm-Message-State: AOAM531SN/QZI2mqwJPOxks9TvaRI33NIaFvFGfJDxsi6JSeyB0klpn9 gWlK57IUstPqHWVXDRt+cihVC52gWu+dmBi9 X-Google-Smtp-Source: ABdhPJyl8nCOREm20JeMKvy3akYiz8fZZTktBnHBQ7a06hdc+7Wf2NCdoEZuXvhZgZbOMctjMsZKGQ== X-Received: by 2002:a05:6402:38d:: with SMTP id o13mr10039226edv.337.1616691725234; Thu, 25 Mar 2021 10:02:05 -0700 (PDT) Received: from localhost.localdomain (mobiledyn-185-69-244-101.mrsn.at. [185.69.244.101]) by smtp.gmail.com with ESMTPSA id r5sm2631986ejx.96.2021.03.25.10.02.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Mar 2021 10:02:04 -0700 (PDT) Message-ID: <77f369d02a34bdd1d1386227f1ec2d74d865aab4.camel@cybertec.at> Subject: Re: Creating redwood datestyle in Postgres 12 From: Laurenz Albe To: Tim Cc: pgsql-admin@lists.postgresql.org Date: Thu, 25 Mar 2021 18:02:03 +0100 In-Reply-To: References: <5273bd68ae53e76fb592249ba05433b4bb645660.camel@cybertec.at> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-2.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, 2021-03-25 at 08:38 -0400, Tim wrote: > Its a native ORACLE date formatting which shows like this: 08-JAN-99 04:05:06 set in the datestyle config param. > > Currently running on EDB Advanced Server 12 which allows it as a datestyle configuration setting, > but looking to migrate off of there to native postgres pretty soon and was hoping there was some > way to have the same setting globally in native postgres. Which is starting to look like is not possible. I concur. You should use "to_char" in your queries or format timestamps in the client application. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com