Add server options to diagnostics

This commit is contained in:
Rafa de la Torre
2019-11-11 15:56:17 +01:00
parent eba6cf4565
commit d76e3ccc3e
3 changed files with 24 additions and 1 deletions

View File

@@ -54,6 +54,9 @@ DROP EXTENSION postgis;
\set QUIET off
SELECT '1.5', cartodb.CDB_Federated_Server_Diagnostics(server => 'loopback') @> '{"postgis_version": null}'::jsonb;
\echo '%% It returns the remote server options'
SELECT '1.6', cartodb.CDB_Federated_Server_Diagnostics(server => 'loopback') @> '{"server_options": {"host": "localhost", "port": "5432", "updatable": "false", "extensions": "postgis", "fetch_size": "1000", "use_remote_estimate": "true"}}'::jsonb;
-- ===================================================================
-- Cleanup