By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
SELECT 1
CREATE EXTENSION
| dblink_connect |
|---|
| OK |
SELECT 1
| dblink_exec |
|---|
| SELECT 1 |
SELECT 1
| dblink_disconnect |
|---|
| OK |
SELECT 1
| string_agg |
|---|
| table_catalog text, table_schema text, table_name text, table_type text, self_referencing_column_name text, reference_generation text, user_defined_type_catalog text, user_defined_type_schema text, user_defined_type_name text, is_insertable_into text, is_typed text, commit_action |
SELECT 1
CREATE EXTENSION
CREATE SCHEMA
CREATE SERVER
CREATE USER MAPPING
IMPORT FOREIGN SCHEMA
| table_catalog | table_schema | table_name | table_type | self_referencing_column_name | reference_generation | user_defined_type_catalog | user_defined_type_schema | user_defined_type_name | is_insertable_into | is_typed | commit_action |
|---|---|---|---|---|---|---|---|---|---|---|---|
| template1 | public | test2_db_2 | BASE TABLE | null | null | null | null | null | YES | NO | null |
SELECT 1
| table_catalog | table_schema | table_name | table_type | self_referencing_column_name | reference_generation | user_defined_type_catalog | user_defined_type_schema | user_defined_type_name | is_insertable_into | is_typed | commit_action |
|---|
SELECT 0
ERROR: relation "mv_pg_all_tables" does not exist