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 1lPlh5-0001qM-Ft for pgsql-admin@arkaria.postgresql.org; Fri, 26 Mar 2021 12:36:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lPlh4-00066s-Cq for pgsql-admin@arkaria.postgresql.org; Fri, 26 Mar 2021 12:36:02 +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 1lPlh4-00066k-5S for pgsql-admin@lists.postgresql.org; Fri, 26 Mar 2021 12:36:02 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lPlh0-0003rC-04 for pgsql-admin@lists.postgresql.org; Fri, 26 Mar 2021 12:36:01 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1lPlgx-0006Bk-G7; Fri, 26 Mar 2021 08:35:55 -0400 Date: Fri, 26 Mar 2021 08:35:55 -0400 From: Bruce Momjian To: Tim Cc: Paul Smith , pgsql-admin@lists.postgresql.org Subject: Re: Creating redwood datestyle in Postgres 12 Message-ID: <20210326123555.GA18244@momjian.us> References: <5273bd68ae53e76fb592249ba05433b4bb645660.camel@cybertec.at> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Mar 26, 2021 at 08:24:37AM -0400, Tim wrote: > I suppose that would be possible, but maintaining date triggers + views across > a large database would be a lot of work. I'm just one humble DBA and there is > 15-20 devs You probably need a custom data type with a custom C output function do to this efficiently. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com If only the physical world exists, free will is an illusion.