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 1lRi0S-00062G-Fv for pgsql-committers@arkaria.postgresql.org; Wed, 31 Mar 2021 21:04:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lRi0R-0003KG-7U for pgsql-committers@arkaria.postgresql.org; Wed, 31 Mar 2021 21:04:03 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lRi0R-0003K9-2X for pgsql-committers@lists.postgresql.org; Wed, 31 Mar 2021 21:04:03 +0000 Received: from mahout.postgresql.org ([2001:4800:3e1:1::227]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lRi0O-0002fp-Tu for pgsql-committers@lists.postgresql.org; Wed, 31 Mar 2021 21:04:02 +0000 Received: from gemulon.postgresql.org ([2001:4800:3e1:1::198]) by mahout.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lRi0O-0005sj-IS for pgsql-committers@lists.postgresql.org; Wed, 31 Mar 2021 21:04:00 +0000 Received: from localhost ([127.0.0.1] helo=gemulon.postgresql.org) by gemulon.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lRi0O-0003vA-Df for pgsql-committers@lists.postgresql.org; Wed, 31 Mar 2021 21:04:00 +0000 Content-Type: multipart/mixed; boundary="===============7631592615288996435==" MIME-Version: 1.0 From: Tom Lane To: pgsql-committers@lists.postgresql.org Subject: pgsql: Fix portability and safety issues in pqTraceFormatTimestamp. X-Auto-Response-Suppress: All Auto-Submitted: auto-generated Message-Id: Date: Wed, 31 Mar 2021 21:04:00 +0000 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --===============7631592615288996435== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Rml4IHBvcnRhYmlsaXR5IGFuZCBzYWZldHkgaXNzdWVzIGluIHBxVHJhY2VGb3JtYXRUaW1lc3Rh bXAuCgpSZW1vdmUgY29uZnVzaW9uIGJldHdlZW4gdGltZV90IGFuZCBwZ190aW1lX3Q7IG5laXRo ZXIKZ2V0dGltZW9mZGF5KCkgbm9yIGxvY2FsdGltZSgpIGRlYWwgaW4gdGhlIGxhdHRlci4KbGli cHEgaW5kZWVkIGhhcyBubyBidXNpbmVzcyB1c2luZyA8cGd0aW1lLmg+IGF0IGFsbC4KClVzZSBz bnByaW50ZiBub3Qgc3ByaW50ZiwgdG8gZW5zdXJlIHdlIGNhbid0IG92ZXJydW4gdGhlCnN1cHBs aWVkIGJ1ZmZlci4gIChVbmxpa2VseSwgYnV0IGxldCdzIGJlIHNhZmUuKQoKUGVyIGJ1aWxkZmFy bS4KCkJyYW5jaAotLS0tLS0KbWFzdGVyCgpEZXRhaWxzCi0tLS0tLS0KaHR0cHM6Ly9naXQucG9z dGdyZXNxbC5vcmcvcGcvY29tbWl0ZGlmZi9mMWJlNzQwYTk5MTQwNmQ3ODg1MDQ3YmViOTcxZTFm ZjVkYmU4YjcxCgpNb2RpZmllZCBGaWxlcwotLS0tLS0tLS0tLS0tLQpzcmMvaW50ZXJmYWNlcy9s aWJwcS9mZS10cmFjZS5jIHwgOSArKystLS0tLS0KMSBmaWxlIGNoYW5nZWQsIDMgaW5zZXJ0aW9u cygrKSwgNiBkZWxldGlvbnMoLSkKCg== --===============7631592615288996435==--