Re: [v15 beta] pg_upgrade failed if earlier executed with -c switch
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Justin Pryzby <pryzby@telsasoft.com>
Cc: Daniel Gustafsson <daniel@yesql.se>, Tom Lane <tgl@sss.pgh.pa.us>, tushar <tushar.ahuja@enterprisedb.com>, pgsql-hackers@postgresql.org, Andrew Dunstan <andrew@dunslane.net>
Date: 2022-06-08T01:55:29Z
Lists: pgsql-hackers
On Mon, Jun 06, 2022 at 10:11:48PM -0500, Justin Pryzby wrote: > tather => rather > is charge => in charge Thanks for the extra read. Fixed. There was an extra one in the comments, as of s/thier/their/. > I think it's better with a dot (HHMMSS.ms) rather than underscore (HHMMSS_ms). > > The ISO timestamp can include milliseconds (or apparently fractional parts of > the "lowest-order" unit), so the "appended by" part doesn't need to be > explained here. > > + snprintf(timebuf, sizeof(timebuf), "%s_%03d", > + timebuf, (int) (time.tv_usec / 1000)); > > Is it really allowed to sprintf a buffer onto itself ? > I can't find any existing cases doing that. Yes, there is no need to do that, so I have just appended the ms digits to the end of the string. And applied, to take care of this open item. -- Michael
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Restructure pg_upgrade output directories for better idempotence
- 4fff78f00910 15.0 landed