Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t1ECc-00FGmi-Qf for pgsql-general@arkaria.postgresql.org; Thu, 17 Oct 2024 00:17:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1t1ECa-00CuS6-JB for pgsql-general@arkaria.postgresql.org; Thu, 17 Oct 2024 00:17:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t1ECa-00CuRl-8P for pgsql-general@lists.postgresql.org; Thu, 17 Oct 2024 00:17:16 +0000 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1t1ECX-001RVU-Sr for pgsql-general@lists.postgresql.org; Thu, 17 Oct 2024 00:17:16 +0000 Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-539f1292a9bso482614e87.2 for ; Wed, 16 Oct 2024 17:17:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729124233; x=1729729033; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ZV6dPY95ky57cUupII+vtf323cwrYqWdDXrtQeFXIC4=; b=N0d97DzmoH/QOFZtQuQ+0RySy00Q43FMYQ39X3XTQNEhVhDIZUEAwI0gCIEGMdPCiM bEC65GYyEF+z+WX9wCS5WWK2arvzBjlPQFIhItQfEunm6Ag6nOqIaENQEg8UB9NB6t+Y pU3K0YzEGNVsIknFzXmSxDwpSIhlTV3ercmvzvV9Q1IfWaBle6hA+CP6ufbuY8nEzFW4 fQA9El7rSvxIP727jGs/D0CYVWF1LV+MqbtyyJttYX1cFW2jFkd80Cn5LK6mLFsJ/l30 KU3sfD7UlsK7C+Y/yz0vnlbQzF8gLFX+ZKSV4xrC/kjj2wTqZ57wCdRUnghK1FWBTiyd duoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729124233; x=1729729033; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZV6dPY95ky57cUupII+vtf323cwrYqWdDXrtQeFXIC4=; b=aScu69ejXtQr2Mxv7NAiOr7q6qJAI/DSOhRv0nVvSXswJrBxxdletcHHwRmie92We1 Gwd1230gL+TNiwZwxkryVO+yDAzHT9Blx295SEA9gOinsM9AZh4ol3TPbFeINcIRvQXr Kukc1amYBT0aMRcL7sMF/bRUtWy5jt8JGB7e8hDRPlr1mhu2f0UlWq+Bd4rAWlSxtjVp FqifJ/mXBlvxKEoILmaab82o2/d8Dk+IPIe6HgDHXWliTasWaTTv0ydVBULULIY1cFq2 X6qxGBLoa7BKP2IyL3a4ePdofrRMd/t7bQE7tWKJRbWq68+0Iq77WXlNBuT/KQxFf/2G nf2g== X-Forwarded-Encrypted: i=1; AJvYcCWIUaq8YzLrHeU2DBHjCTCAEjO8emKZaseL9iJusIKW0GehoV1GfX0Y416OHCXlxdtTLEQWBTD5ve/JGBzm@lists.postgresql.org X-Gm-Message-State: AOJu0Yz7TbaICYwwnNxTFRSaorl1Sjz+6P07eTIAeK2HSdlclcexZ2UO Ypy/b1prZnaXVnXixb1ix9uErD6L/6fEjKc8Qc9BNiE3UKlpTsEBGZ0vL3aCpEyDK5bseZ+yrS4 3IlM/lLBVC8HGKWZAOh12jwfuO7s5kUo+ X-Google-Smtp-Source: AGHT+IGE9S8hz6psvXBGdurBgYH4FL1KECFRrrMFS+iQgS6w6dAYDSGZa4f2qTqx1K/r1NXtUpYlNPN1m7wx76/psqs= X-Received: by 2002:a05:6512:1599:b0:539:fd1b:baf5 with SMTP id 2adb3069b0e04-53a03f18d61mr3984960e87.16.1729124232804; Wed, 16 Oct 2024 17:17:12 -0700 (PDT) MIME-Version: 1.0 References: <0af9ebc00dca444cbd3c5e07752bc5f9@oeaw.ac.at> In-Reply-To: <0af9ebc00dca444cbd3c5e07752bc5f9@oeaw.ac.at> From: David Rowley Date: Thu, 17 Oct 2024 13:17:01 +1300 Message-ID: Subject: Re: Support for dates before 4713 BC To: "Richards, Nina" Cc: "Watzinger, Alexander" , "pgsql-general@lists.postgresql.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, 17 Oct 2024 at 01:26, Richards, Nina wro= te: > Even though we know there was no calendar at that time, it would make our= work much easier if we could use data before 4713 BC in the same way. Espe= cially for statistical analyses and scientific dating methods (14C, dendroc= hronology), this would be a great benefit for us as well as the users of Op= enAtlas. > > > Are there, by any chance, news about this issue? Or are you aware of any = suitable workarounds on the database level in the meantime? It's by no means a trivial thing to do, but it is possible to implement new types in PostgreSQL [1]. If you invented your own type, you could significantly widen the upper and lower bounds when compared with the standard date type. David [1] https://www.postgresql.org/docs/current/sql-createtype.html