Subject | Re: [Firebird-Architect] Metadata object types |
---|---|
Author | Ann W. Harrison |
Post date | 2005-12-08T15:40:48Z |
Dmitry Yemanov wrote:
contains the textual version of the numeric type - as below where the
lower case letters are new fields.
define relation rdb$pages (
RDB$PAGE_NUMBER INTEGER Nullable,
RDB$RELATION_ID SMALLINT Nullable,
rdb$relation_name varchar(128),
RDB$PAGE_SEQUENCE INTEGER Nullable,
RDB$PAGE_TYPE SMALLINT Nullable,
rdb$page_type_source varchar (128) check value in
('HEADER', 'PAGE INVENTORY', 'TRANSACTION INVENTORY',
'POINTER', 'DATA', 'INDEX ROOT', 'INDEX', 'BLOB',
'GENERATOR', 'LOG'));
Regards,
Ann
>I suggest keeping numeric types and adding a parallel _SOURCE field that
> I don't have problems with either approach. I just want us to choose one and
> make our future metadata extentions consistent.
>
contains the textual version of the numeric type - as below where the
lower case letters are new fields.
define relation rdb$pages (
RDB$PAGE_NUMBER INTEGER Nullable,
RDB$RELATION_ID SMALLINT Nullable,
rdb$relation_name varchar(128),
RDB$PAGE_SEQUENCE INTEGER Nullable,
RDB$PAGE_TYPE SMALLINT Nullable,
rdb$page_type_source varchar (128) check value in
('HEADER', 'PAGE INVENTORY', 'TRANSACTION INVENTORY',
'POINTER', 'DATA', 'INDEX ROOT', 'INDEX', 'BLOB',
'GENERATOR', 'LOG'));
Regards,
Ann