Skip to content

Alter domain depedence problem when changing VAR(CHAR) size [CORE1427] #1845

Open
@firebird-automations

Description

@firebird-automations

Submitted by: @WarmBooter

Votes: 3

If you try to change the size of a VARCHAR domain being used in [composite] Primary Keys, Firebird complains like:

This operation is not defined for system tables.
unsuccessful metadata update.
MODIFY RDB$FIELDS failed.
action cancelled by trigger (1) to preserve data integrity.
Cannot update index segment used by an Integrity Constraint.

Vlad told me that indexes doesn't mind about var(char) field size, so this rule could be "relaxed".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions