我以前使用以下命令通过inno安装程序安装了PostgreSQL 8.4。
postgresql.exe --mode unattended --unattendedmodeui minimal --superpassword admin@123 --prefix "c:\iview\postgres" --datadir "c:\iview\postgres\data" --install_plpgsql 1 --create_shortcuts 0 '
现在,我想通过以上命令安装OostgreSQL 9.0.4,但提示错误:
选项datadir,install_plpgsql无效,请查看帮助文档。
应该传递哪个选项来正确安装PostgreSQL 9.0.4?