Roman Simakov wrote 06.10.2021 20:43:
Let me not describe every field. I hope most of them are obvious.
No, they aren't.
ID is not referenced anywhere and seems to have no purpose at all.
TABLESPACE_NAME being CHAR is pointless. CHAR was used in ancient times but
new fields should prefer VARCHAR.
FILE_NAME limited to 255 characters is strange in modern world at least.
RDB$SYSTEM_FLAG is not currently used but I suppose it would be useful one day.
What for? There isn't going to be an automatically created tablespace for
internal purposes, right? Where in host filesystem would it be created?..
OFFLINE and READ_ONLY are a kind of physical properties and supposed
to be used but not in this merge request anycase.
Mostly I wanted to know the reason why they are SMALLINT instead of BOOLEAN.
These fields are necessary for reliable implementation of moving data
pages to another tablespace. You'll be able to understand their
meaning in code.
Documentation also must contain the code?..
--
WBR, SD.
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel