I've local PostgreSQL database with tables, constraints, relations etc.
How can I migrate it to a production server?
Try using flyway. It does exactly this. Dump your schema into an sql file and migrate using flyway.
flyway
What's the equivalent to show tables (from MySQL) in PostgreSQL?
How do I change the password for PostgreSQL user?
How do you perform the equivalent of Oracle's DESCRIBE TABLE in PostgreSQL (using the psql command)?