Closed rafatower closed 5 years ago
This branch adds a new function CDB_SetUp_PG_Federated_Server that can be used like this:
CDB_SetUp_PG_Federated_Server
SELECT cartodb.CDB_SetUp_PG_Federated_Server('amazon', '{ "server": { "dbname": "testdb", "host": "myhostname.us-east-2.rds.amazonaws.com", "port": "5432" }, "credentials": { "username": "read_only_user", "password": "secret" } }');
As a bonus it has a small refactor of tests, extracting some common setup and teardown from FDW tests.
This other PR is a superset of this one: https://github.com/CartoDB/cartodb-postgresql/pull/373
Closing in favor of https://github.com/CartoDB/cartodb-postgresql/pull/373
This branch adds a new function
CDB_SetUp_PG_Federated_Server
that can be used like this:As a bonus it has a small refactor of tests, extracting some common setup and teardown from FDW tests.