Certainly you can install postgres on your 2nd disk and that will mean that the databases are stored there - I did that before.
However, I have been told by a postgres expert on this forum that it is better to install postgres on the main drive, and purely run the data on the 2nd drive - that's more complicated to set up, though. Have a look at the
Database / Postgres FAQ - I think there are some useful links there.