As Robert mentioned,the information so far isn't enough to diagnose the problem.
The "versions do not match" error usually means that initdb is finding a different postgres.exe than the one you expect,even if --version prints the same number.On Windows this often happens due to a leftover PostgreSQL installation or an unexpected entry in PATH.
Could you please share:
1.The exact error message printed by initdb 2.Exact command you used to run initdb 3.The output of where initdb where postgres echo %PATH% 4.Confirmation that there are no remaining PostgreSQL directories (eg. C:\program Files\PostgreSQL\*) or PostgreSQL services from older versions
with those details,it should be possible to see whether this is a PATH or installation issue ,or something else.
From:
PG Bug reporting form Date: Subject:
BUG #19357: PostgreSQL generates a custom plan that performs worse than the generic plan for a certain query.
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.