Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-33384

ALTER PACKAGE [ BODY ] statement

    XMLWordPrintable

Details

    Description

      For symmetry with ALTER FUNCTION and ALTER PROCEDURE, let's have ALTER PACKAGE and ALTER PACKAGE BODY statements.

      ALTER PACKAGE package_name [package_characteristic ...]
       
      ALTER PACKAGE BODY package_name [package_characteristic ...]
       
      package_characteristic:
          COMMENT 'string'
        | SQL SECURITY { DEFINER | INVOKER }
      

      We can also consider implementing adding and dropping individual routines with ALTER PACKAGE:

      ALTER PACKAGE [BODY] ADD FUNCTION ...;
      ALTER PACKAGE [BODY] ADD PROCEDURE ...;
      ALTER PACKAGE [BODY] DROP FUNCTION ...;
      ALTER PACKAGE [BODY] DROP PROCEDURE ...;
      

      IBM DB2 has similar statements for MODULE.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bar Alexander Barkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.