Skip to content

Should not pollute public schema? #9

@alexpdp7

Description

@alexpdp7

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions