[MDEV-33385] Support package routines in metadata views Created: 2024-02-05 Updated: 2024-02-05 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Stored routines |
| Fix Version/s: | 11.6 |
| Type: | Task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | Compatibility | ||
| Issue Links: |
|
||||||||
| Description |
|
We need to have a way to list package routines. Different implementation ways are possible. Treat packages as SQL Standard ModulesWe can add SQL Standard columns into INFORMATION_SCHEMA.ROUTINES:
One will be able to run this statement to list routines in a specific package:
Treat packages as separate instances (not modules)This proposal assumes that a PACKAGE is something completely different from a MODULE. Implementation questionsNo matter which presentation way we choose, listing package routines in INFORMATION_SCHEMA.ROUTINES can be inefficient in case if a database has many packages: |