As a WIP it still misses quite a bit of tests around corner cases (server / schema not existing, odd names...) and has some TODO's left (permissions, possible improvements) but it can be reviewed so we confirm this is the API we want to use.
Public functions:
CDB_Federated_Server_List_Servers(server TEXT DEFAULT '%')
Add some new functions to manage a federated server.
This includes parts of the code from https://github.com/CartoDB/cartodb-postgresql/pull/373 and https://github.com/CartoDB/cartodb-postgresql/pull/381 and probably deprecates code recently added to CDB_ForeignTable.
As a WIP it still misses quite a bit of tests around corner cases (server / schema not existing, odd names...) and has some TODO's left (permissions, possible improvements) but it can be reviewed so we confirm this is the API we want to use.
Public functions: