Re: BUG #19028: INITDB fails post-bootstrap initialization with FATAL " " is not a valid binary digit at character 1
Thomas Munro <thomas.munro@gmail.com>
From: Thomas Munro <thomas.munro@gmail.com>
To: KAZAR Ayoub <ma_kazar@esi.dz>
Cc: pgsql-bugs@lists.postgresql.org
Date: 2025-08-22T02:16:40Z
Lists: pgsql-bugs
On Thu, Aug 21, 2025 at 5:03 PM KAZAR Ayoub <ma_kazar@esi.dz> wrote: > This was fixed after doing a clean compilation of master which i forgot about only after reporting it, this bug is not valid anymore while i still find it interesting to understand the reason why it was happening. I vaguely recall problems when lexer or parser code had been generated by different binaries, when I'd changed the PATH or upgraded some packages or something like that. (Older branches had a related footgun built in, see 721856ff, but you said this is master.) The symptom I recall was a psql that would crash in the slash lexer so may be completely unrelated... just mentioning it since you said a clean build did the trick.