Opted for DataImportHandler.
Download jdbc driver for postgresql and put it in dist/ dir
Add modules to config file:
<lib dir="../../dist/" regex="apache-solr-dataimporthandler-\d.*\.jar" /> <lib dir="../../dist/" regex="postgresql-\d.*\.jar" />
Follow instructions at Solr wiki
Remember to declare your scheme right in scheme.xml
Done in 30 minutes.