Usage of MET_index_deferred_active

21 views
Skip to first unread message

Dimitry Sibiryakov

unread,
Mar 25, 2026, 12:38:28 PM (10 days ago) Mar 25
to firebir...@googlegroups.com
Hello All,

in current code I see lines where index status is checked against
MET_index_deferred_active value, but nowhere this status is assigned.
Is it obsolete, reserved for future or somewhere is assigned by value instead
of name?

--
WBR, SD.

Alex Peshkoff

unread,
Mar 26, 2026, 5:07:34 AM (9 days ago) Mar 26
to firebir...@googlegroups.com
In restore.epp 

constexpr int DEFERRED_ACTIVE   = 3;    // RDB$INDEX_INACTIVE setting for Foreign Keys
                                        // This setting is used temporarily while
                                        // restoring a database. 



Dimitry Sibiryakov

unread,
Mar 26, 2026, 5:16:33 AM (9 days ago) Mar 26
to firebir...@googlegroups.com
Alex Peshkoff wrote 26.03.2026 10:07:
> constexpr int DEFERRED_ACTIVE   = 3;    // RDB$INDEX_INACTIVE setting for
> Foreign Keys

Ah, here it is...

BTW, shouldn't such enums be declared in ods.h as they are related to ODS?

--
WBR, SD.

Alex Peshkoff

unread,
Mar 26, 2026, 6:06:09 AM (9 days ago) Mar 26
to firebir...@googlegroups.com
On 3/26/26 12:16, 'Dimitry Sibiryakov' via firebird-devel wrote:

> BTW, shouldn't such enums be declared in ods.h as they are related to
> ODS?
>

May be.


Reply all
Reply to author
Forward
0 new messages