Skip to content

Conversation

@pesse
Copy link
Member

@pesse pesse commented Jan 11, 2019

Thanks Jacek for the hint!
It's also less verbose now.

" begin " +
" execute immediate '" +
" begin " +
" :x := case ' || ? || '() is of (ut_output_reporter_base) when true then 1 else 0 end;" +
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would keep dbms_assert.valid_sql_name call.
It's a build in function that checks object name valid and that it is visible to user.
It is far safer than regex check.
You can still have both

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the failed attempts. It's problematic on 11g as it seems.
I'll give it one last try.

@pesse pesse merged commit c72bef0 into develop Jan 16, 2019
@pesse pesse deleted the bugfix/reporter_has_output_check branch February 5, 2019 20:05
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

Successfully merging this pull request may close these issues.

3 participants