Question: how to create database link in postgres?
Answer: Steps to create DB link: Create a user 'veguser' on the host 'vegeta' on PostgreSQL prompt. After this, create a database 'vegeta' whose owner is the user 'veguser. Connect using the user 'gokuser' on the database 'goku'. Load the 'dblink' extension using 'CREATE EXTENSION' command.