Skip to content

Commit

Permalink
Make data nodes view consistent with other views
Browse files Browse the repository at this point in the history
Rename the data_node view to data_nodes to be consistent with other
views that all use the plural form.
  • Loading branch information
erimatnor committed Oct 5, 2020
1 parent 5a5cbe1 commit c3807a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/views.sql
Expand Up @@ -109,7 +109,7 @@ CREATE OR REPLACE VIEW timescaledb_information.continuous_aggregates as
and N.nspname = cagg.direct_view_schema ) directview
WHERE cagg.mat_hypertable_id = ht.id;

CREATE OR REPLACE VIEW timescaledb_information.data_node AS
CREATE OR REPLACE VIEW timescaledb_information.data_nodes AS
SELECT s.node_name, s.owner, s.options
FROM (SELECT srvname AS node_name, srvowner::regrole::name AS owner, srvoptions AS options
FROM pg_catalog.pg_foreign_server AS srv, pg_catalog.pg_foreign_data_wrapper AS fdw
Expand Down

0 comments on commit c3807a2

Please sign in to comment.