mirror of https://github.com/citusdata/citus.git
Merge pull request #6157 from citusdata/add_missing_schema
Set missing search_path in the testspull/6159/head
commit
31cdf27fd6
|
@ -612,6 +612,7 @@ REFRESH MATERIALIZED VIEW other_schema.mat_view_2;
|
||||||
REFRESH MATERIALIZED VIEW other_schema.mat_view;
|
REFRESH MATERIALIZED VIEW other_schema.mat_view;
|
||||||
REFRESH MATERIALIZED VIEW other_schema.mat_view_2;
|
REFRESH MATERIALIZED VIEW other_schema.mat_view_2;
|
||||||
\c - some_other_user
|
\c - some_other_user
|
||||||
|
SET search_path TO 'other_schema';
|
||||||
-- test security definer funcs
|
-- test security definer funcs
|
||||||
CREATE FUNCTION security_definer_in_files()
|
CREATE FUNCTION security_definer_in_files()
|
||||||
RETURNS BOOLEAN AS $$
|
RETURNS BOOLEAN AS $$
|
||||||
|
@ -633,6 +634,7 @@ SELECT security_definer_in_files();
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
\c - postgres
|
\c - postgres
|
||||||
|
SET search_path TO 'other_schema';
|
||||||
SELECT security_definer_in_files();
|
SELECT security_definer_in_files();
|
||||||
security_definer_in_files
|
security_definer_in_files
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
|
|
|
@ -289,6 +289,8 @@ REFRESH MATERIALIZED VIEW other_schema.mat_view_2;
|
||||||
|
|
||||||
\c - some_other_user
|
\c - some_other_user
|
||||||
|
|
||||||
|
SET search_path TO 'other_schema';
|
||||||
|
|
||||||
-- test security definer funcs
|
-- test security definer funcs
|
||||||
CREATE FUNCTION security_definer_in_files()
|
CREATE FUNCTION security_definer_in_files()
|
||||||
RETURNS BOOLEAN AS $$
|
RETURNS BOOLEAN AS $$
|
||||||
|
@ -308,6 +310,8 @@ SELECT security_definer_in_files();
|
||||||
|
|
||||||
\c - postgres
|
\c - postgres
|
||||||
|
|
||||||
|
SET search_path TO 'other_schema';
|
||||||
|
|
||||||
SELECT security_definer_in_files();
|
SELECT security_definer_in_files();
|
||||||
|
|
||||||
CREATE FUNCTION security_definer_in_files_2()
|
CREATE FUNCTION security_definer_in_files_2()
|
||||||
|
|
Loading…
Reference in New Issue