This file is indexed.

/usr/share/doc/firebird2.5-common-doc/doc/sql.extensions/README.domains_psql.txt is in firebird2.5-doc 2.5.2.26540.ds4-9ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---------------
Domains in PSQL
---------------

Function:
    Allow usage of domains in PSQL.

Author:
    Adriano dos Santos Fernandes <adrianosf@uol.com.br>

Syntax rules:
    data_type ::=
         <builtin_data_type>
       | <domain_name>
       | TYPE OF <domain_name>
       | TYPE OF COLUMN <table or view>.<column>

Examples:
    CREATE DOMAIN DOM AS INTEGER;

    CREATE PROCEDURE SP (I1 TYPE OF DOM, I2 DOM) RETURNS (O1 TYPE OF DOM, O2 DOM)
    AS
        DECLARE VARIABLE V1 TYPE OF DOM;
        DECLARE VARIABLE V2 DOM;
    BEGIN
    END

Notes:
    1. TYPE OF gets only the type of the domain. It doesn't use constraints and default values.
    2. A new field RDB$VALID_BLR was added in RDB$RELATIONS and RDB$TRIGGERS to store if the procedure/trigger is valid or not after an ALTER DOMAIN.
    3. The value of RDB$VALID_BLR is shown in ISQL commands SHOW PROCEDURE/TRIGGER.

See also:
    README.column_type_psql.txt