You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The encryption_package cannot be updated without uninstalling it first.
When executing make install
while the library is already installed, the following error are displayed
vsql:ddl/install.sql:5: ROLLBACK 4213: Object "Encryption" already exists
vsql:ddl/install.sql:6: ROLLBACK 3472: Function with same name and number of parameters already exists: AESEncrypt
vsql:ddl/install.sql:7: ROLLBACK 3472: Function with same name and number of parameters already exists: AESDecrypt
This is really problematic when the functions are used in a Vertica column default expression, because as soon as the library is dropped, the whole table using the default expression is lost.
Replacing the "CREATE" statements with a "CREATE OR REPLACE" solves the issue.
The text was updated successfully, but these errors were encountered:
nicolasriousset
added a commit
to nicolasriousset/Vertica-Extension-Packages
that referenced
this issue
Feb 15, 2018
The encryption_package cannot be updated without uninstalling it first.
When executing
make install
while the library is already installed, the following error are displayed
This is really problematic when the functions are used in a Vertica column default expression, because as soon as the library is dropped, the whole table using the default expression is lost.
Replacing the "CREATE" statements with a "CREATE OR REPLACE" solves the issue.
The text was updated successfully, but these errors were encountered: