I want to Download DVD Rental Sample Database from http://www.postgresqltutorial.com/postgresql-sample-database/ The database file is in zipformat ( dvdrental.zip) so I need to extract it to dvdrental.tar I have no .tar program in my computer. How can I extract the zip file to dvdrental.tar ?
So, I came across the same problem. The way i fixed it was to download:
pg_restore -U postgres -d dvdrental /Users/username/Downloads/dvdrental.tar
username
to your username. you might have to change the path depending on where your now .tar file is. If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With