Issue Details (XML | Word | Printable)

Key: CORE-4487
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Adriano dos Santos Fernandes
Reporter: Robert
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Maintain package body after ALTER/RECREATE PACKAGE

Created: 07/Jul/14 04:11 PM   Updated: 28/May/15 03:09 PM
Component/s: Engine
Affects Version/s: 3.0 Alpha 2
Fix Version/s: 3.0 Beta 1

QA Status: Done successfully


 Description  « Hide
Currently, if I execute an ALTER/RECREATE PACKAGE statement, the package body will be dropped.

I like to request to save the old body source in rdb$packages (e.g. new field rgb$old_package_body_source).

I have then the old body source available when I want to redefine it with RECREATE PACKAGE BODY.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Adriano dos Santos Fernandes made changes - 31/Jul/14 04:19 PM
Field Original Value New Value
Summary Save package body after ALTER/RECREATE PACKAGE Maintain package body after ALTER/RECREATE PACKAGE
Assignee Adriano dos Santos Fernandes [ asfernandes ]
Adriano dos Santos Fernandes added a comment - 31/Jul/14 04:30 PM
The source will be maintained and a new column RDB$PACKAGES.RDB$VALID_BODY_FLAG was introduced to indicate the body state.

Invalid body will not be extracted by isql -extract.

Adriano dos Santos Fernandes made changes - 31/Jul/14 04:30 PM
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 3.0 Beta 1 [ 10332 ]
Resolution Fixed [ 1 ]
Pavel Zotov made changes - 28/May/15 03:09 PM
Status Resolved [ 5 ] Resolved [ 5 ]
QA Status Done successfully