Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should not pollute public schema? #9

Open
alexpdp7 opened this issue Nov 27, 2015 · 0 comments
Open

Should not pollute public schema? #9

alexpdp7 opened this issue Nov 27, 2015 · 0 comments

Comments

@alexpdp7
Copy link

Hi,

I've started to test out plpgunit and got some errors installing it:

# \i 1.install-unit-test.sql 
...
psql:1.install-unit-test.sql:572: ERROR:  type "test_result" does not exist
LINE 10:     DECLARE message                     test_result;
                                             ^

, because I have altered my search_path to not include the public schema (I think). Wouldn't it be better it the test_result type was created within one of plpgunit's schemas? I think that would be safer (I wouldn't have this error) and nicer (the uninstall script wouldn't need dropping it- it would cascade).

Cheers,

Álex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant