I am trying to create a foreign data wrapper in pgAdmin, everything looks fine in terms of installing the wrapper extension, create a foreign data wrapper server, create a user map, until the very last step 'import foreign schema'.
CREATE SCHEMA AAA
IMPORT FOREIGN SCHEMA PUBLIC
from server xxx
into AAA;
Error: could not connect to server xxx
Detail: could not translate host name xxx to address: name or service not known
SQL state: 08001
so what's wrong with my hostname?