What I am doing and what I am getting, I have pasted at https://hastebin.com/ulemilabas.rb
The original URL given in the video was causing syntax error. Found this on Wikibooks. This time a different error.
On my terminal,
set PGUSER=toy-user; psql -d webdev -W
asks for the password and logs in fine. But,
psql -U toy-user -d webdev -W
causes FATAL error for authentication failure.
What am I doing wrong?
Thank you in advance,