[ 
https://issues.apache.org/jira/browse/DERBY-3886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635469#action_12635469
 ] 

Rick Hillegas commented on DERBY-3886:
--------------------------------------

Hi Dag,

I think this is a good use of vtis. SYSCS_DIAG sounds like a good home for your 
vti. Your vti seems to be compatible with the charter of that schema as 
described in the Reference Guide: "Derby provides a set of system table 
expressions which you can use to obtain diagnostic information about the state 
of the database and about the database sessions."


> SQL roles: show enabled roles
> -----------------------------
>
>                 Key: DERBY-3886
>                 URL: https://issues.apache.org/jira/browse/DERBY-3886
>             Project: Derby
>          Issue Type: Improvement
>          Components: SQL, Tools
>            Reporter: Dag H. Wanvik
>         Attachments: enabled-roles.diff, enabled-roles.stat
>
>
> Rick suggested it would be nice to have something to allow inspection of 
> enabled roles, cf the 
> ENABLED_ROLES view of the information schema, SQL 2003, vol 11, section 5.29.
> I enclose patch suggestion for doing this via a new VTI table and syntactic 
> sugar in ij:
> SYSCS_DIAG.ENABLED_ROLES and and ij command "show enabled_roles".
> Not for commit at this point, we may want to handle to general question of 
> information schemata
> in another way. What say thee?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to