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 1sxsxq-00CzrU-FK for pgsql-hackers@arkaria.postgresql.org; Mon, 07 Oct 2024 19:00:14 +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 1sxsxp-00Et8n-4l for pgsql-hackers@arkaria.postgresql.org; Mon, 07 Oct 2024 19:00:13 +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 1sxsxo-00Et8e-Og for pgsql-hackers@lists.postgresql.org; Mon, 07 Oct 2024 19:00:12 +0000 Received: from mail-qt1-x82b.google.com ([2607:f8b0:4864:20::82b]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sxsxm-0034PO-2F for pgsql-hackers@postgresql.org; Mon, 07 Oct 2024 19:00:12 +0000 Received: by mail-qt1-x82b.google.com with SMTP id d75a77b69052e-45821ebb4e6so43154451cf.2 for ; Mon, 07 Oct 2024 12:00:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728327608; x=1728932408; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=oc6HQXp91bEfBrI8vSnsRUmZbISpkCYDRlhvbns4zNg=; b=M451oCo/iMCL4G/JQ8KqsQv0sP9W1RShzPbg/Ozax9DinovtHk+X0x91ecnSb7uKwo zWfLOh68jHE4RdD1M3ECW/Bzy58+IfsYJHUKe5riANBKfyhGM29ZcW8P3xHZLYqlFxlX y8wxFokQIQTGnTuaZjNDZgIgWKKGlCXpUJnZByaaETwmvUmR36otKg8CWjct24Kg1NaI fBJ8Bw74dNKDhmgh1MldELnBBNkh8Wki68LbW/l6+hVfgKcCV34X5vGYb5l83ApqeQup RwXxiDw8eHfPlmxnnC3eZulMovD1RTNSWLDG9QGdYzaJg9mcR1AmGV11SG3kpv3CGc7Q MRQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728327608; x=1728932408; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=oc6HQXp91bEfBrI8vSnsRUmZbISpkCYDRlhvbns4zNg=; b=AuloY1GYc77lETvlEtBZwyipZZqQi6wK9ZjnOIfFF4xxAqRi9/bZsEfi3/wIl/LMVg ceeWgAy9TUeHDUPE8K0CxdRyC0wvXpFjMzu6Engoa4RddgT3I6RSMyJHs+rK9/YYtubQ OUPL8TbLr24Was0wMgeLd4eVCSdsYpy4a16eNAR5kT5BYy0Alki7bN/D58qobc5GgJ/2 0KBjT5wEVEkhGijc5n/gBaZCndY59lKaPB4gbBylECrIh30T337UZ+hdgpkp5pmkyJ9e d077VZ/bQMaxXoHvz71ufcsIOsPs1+EkWZhcSXIrSxlUkVwOZ5OTsJMA8nGQwjI6eZ+m ofJA== X-Forwarded-Encrypted: i=1; AJvYcCUxzhdTuESQ9jkQx/QbdPqR659vIypHIr8OUFYfmL6e72Rqqdc5Gm3NhMU3aKC3DmUJuHI47cetys0lFzMp@postgresql.org X-Gm-Message-State: AOJu0Yw1ku/GDEozDuitrcCdSKYJwdh6iiIeBIg+WuX1m9Om4f/tV7Of GntmHeiBi0GCqpnCCXGOhAvrTLlP75PI6l9oMajFvCUYlZwVxFUY X-Google-Smtp-Source: AGHT+IH79VxJXbFbA9WE3PQ+vCa8Xq+ZGB+VEWNlyGe6HOox/4d5JIRGLdotbIza/xmF/2juGCHJAg== X-Received: by 2002:a05:622a:2b4f:b0:45d:9ffe:9989 with SMTP id d75a77b69052e-45d9ffe9af6mr153881961cf.27.1728327607995; Mon, 07 Oct 2024 12:00:07 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-45daad2fcbbsm25906721cf.46.2024.10.07.12.00.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2024 12:00:07 -0700 (PDT) Date: Mon, 7 Oct 2024 14:00:05 -0500 From: Nathan Bossart To: Max Johnson Cc: Tom Lane , "pgsql-hackers@postgresql.org" Subject: Re: pg_ctl/miscinit: print "MyStartTime" as a long long instead of long to avoid 2038 problem. Message-ID: References: <3486094.1727210681@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Sep 27, 2024 at 02:10:47PM -0500, Nathan Bossart wrote: > Alright. I was able to back-patch it to v12 without too much trouble, > fortunately. I'll commit that soon unless anyone else has feedback. Committed, thanks! I refrained from introducing INT64_HEX_FORMAT/UINT64_HEX_FORMAT in c.h because I felt there was a nonzero chance of that causing problems with third-party code on the back-branches. We could probably add them for v18, though. -- nathan