Unable to restore a database with inactive indices if any SP/trigger contains an explicit plan
----------------------------------------------------------------------------------------------
Key: CORE-1725
URL: http://tracker.firebirdsql.org/browse/CORE-1725
Project: Firebird Core
Issue Type: Bug
Components: Engine
Affects Versions: 2.1 RC1, 2.0.3, 2.0.2, 2.0.1, 2.0.0
Reporter: Dmitry Yemanov
gbak -r -i <backup path> <database path>. Note the -i switch which is expected to deactivate the indices (e.g. backup contains duplicates in PK). Now, if any PSQL code contains an explicit plan referencing any indices, then the restore fails:
gbak:creating indexes
gbak: committing metadata
gbak: ERROR:<index name> cannot be used in the specified plan
gbak:Exiting before completion due to errors
At this point, tables with data are restored fine but all the PSQL objects are lost.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|