Re: BUG #16259: Cannot Use "pg_ctl start -l logfile" on Clean Install on Windows Server 2012/2016
Heath Lord <heath.lord@crunchydata.com>
From: Heath Lord <heath.lord@crunchydata.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alexander Lakhin <exclusion@gmail.com>,
"Jonathan S. Katz" <jkatz@postgresql.org>, pgsql-bugs@lists.postgresql.org
Date: 2020-02-16T00:23:11Z
Lists: pgsql-bugs
On Sat, Feb 15, 2020 at 12:22 AM Tom Lane <tgl@sss.pgh.pa.us> wrote: > > Alexander Lakhin <exclusion@gmail.com> writes: > >> Alexander, this was your patch to start with ... any thoughts? > > > Yes, it was my omission. Please look at the improved patch. > > It works for me in both command prompts and still gives a meaningful > > message on error. > > This seems basically reasonable but I'm not in a position to test it. > Heath, can you see if this improves matters for you? > > regards, tom lane I am sorry it took me so long to get back to you on this, but I was finally able to stand up a fresh VM, install and compile all of the Windows dependencies, and compile everything from source with the provided patch. This patch fixes the issue that I was seeing with the 12.2 release. I was able to run through all of my normal test scenarios successfully using the patch. I appreciate you looking into this and getting me a patch so quickly. -Heath
Commits
-
Try again to work around Windows' ERROR_SHARING_VIOLATION in pg_ctl.
- e02ea141ee66 13.0 landed
- de5e03f7fe73 12.3 landed