Project

General

Profile

« Previous | Next » 

Revision 12336

fix: schemas/vegbien.sql: query_views(): renamed to query_relations() because this also returns non-views

View differences:

vegbien.sql
1951 1951
SET search_path = public_validations, pg_catalog;
1952 1952

  
1953 1953
--
1954
-- Name: query_views(regclass); Type: FUNCTION; Schema: public_validations; Owner: -
1954
-- Name: query_relations(regclass); Type: FUNCTION; Schema: public_validations; Owner: -
1955 1955
--
1956 1956

  
1957
CREATE FUNCTION query_views(query_view regclass) RETURNS SETOF regclass
1957
CREATE FUNCTION query_relations(query_view regclass) RETURNS SETOF regclass
1958 1958
    LANGUAGE sql STABLE
1959 1959
    AS $_$
1960 1960
SELECT *

Also available in: Unified diff