Do we need Jdk/java for postgresql server? If yes then please let me know the version comparability with postgresql version 9/10/11/12.
No, the PostgreSQL server does not require Java. There are some third-party extensions that make using Java within client application code in the server possible.