3
* PROGRAM: JRD Access Method
5
* DESCRIPTION: System relation definitions
7
* The contents of this file are subject to the Interbase Public
8
* License Version 1.0 (the "License"); you may not use this file
9
* except in compliance with the License. You may obtain a copy
10
* of the License at http://www.Inprise.com/IPL.html
12
* Software distributed under the License is distributed on an
13
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
14
* or implied. See the License for the specific language governing
15
* rights and limitations under the License.
17
* The Original Code was created by Inprise Corporation
18
* and its predecessors. Portions created by Inprise Corporation are
19
* Copyright (C) Inprise Corporation.
21
* All Rights Reserved.
22
* Contributor(s): ______________________________________.
28
const USHORT f_pag_page = 0;
29
const USHORT f_pag_id = 1;
30
const USHORT f_pag_seq = 2;
31
const USHORT f_pag_type = 3;
34
const USHORT f_dat_desc = 0;
35
const USHORT f_dat_id = 1;
36
const USHORT f_dat_class = 2;
37
const USHORT f_dat_charset = 3;
40
const USHORT f_fld_name = 0;
41
const USHORT f_fld_qname = 1;
42
const USHORT f_fld_v_blr = 2;
43
const USHORT f_fld_v_source = 3;
44
const USHORT f_fld_computed = 4;
45
const USHORT f_fld_csource = 5;
46
const USHORT f_fld_default = 6;
47
const USHORT f_fld_dsource = 7;
48
const USHORT f_fld_length = 8;
49
const USHORT f_fld_scale = 9;
50
const USHORT f_fld_type = 10;
51
const USHORT f_fld_sub_type = 11;
52
const USHORT f_fld_missing = 12;
53
const USHORT f_fld_msource = 13;
54
const USHORT f_fld_desc = 14;
55
const USHORT f_fld_sys_flag = 15;
56
const USHORT f_fld_qheader = 16;
57
const USHORT f_fld_seg_len = 17;
58
const USHORT f_fld_estring = 18;
59
const USHORT f_fld_ext_length = 19;
60
const USHORT f_fld_ext_scale = 20;
61
const USHORT f_fld_ext_type = 21;
62
const USHORT f_fld_dimensions = 22;
63
const USHORT f_fld_null_flag = 23;
64
const USHORT f_fld_char_length = 24;
65
const USHORT f_fld_coll_id = 25;
66
const USHORT f_fld_charset_id = 26;
67
const USHORT f_fld_precision = 27;
70
const USHORT f_seg_name = 0;
71
const USHORT f_seg_field = 1;
72
const USHORT f_seg_position = 2;
73
const USHORT f_seg_statistics = 3;
76
const USHORT f_idx_name = 0;
77
const USHORT f_idx_relation = 1;
78
const USHORT f_idx_id = 2;
79
const USHORT f_idx_flag = 3;
80
const USHORT f_idx_desc = 4;
81
const USHORT f_idx_count = 5;
82
const USHORT f_idx_inactive = 6;
83
const USHORT f_idx_type = 7;
84
const USHORT f_idx_foreign = 8;
85
const USHORT f_idx_sys_flag = 9;
86
const USHORT f_idx_exp_blr = 10;
87
const USHORT f_idx_exp_source = 11;
88
const USHORT f_idx_statistics = 12;
91
const USHORT f_rfr_fname = 0;
92
const USHORT f_rfr_rname = 1;
93
const USHORT f_rfr_sname = 2;
94
const USHORT f_rfr_qname = 3;
95
const USHORT f_rfr_base = 4;
96
const USHORT f_rfr_estring = 5;
97
const USHORT f_rfr_position = 6;
98
const USHORT f_rfr_qheader = 7;
99
const USHORT f_rfr_flag = 8;
100
const USHORT f_rfr_id = 9;
101
const USHORT f_rfr_context = 10;
102
const USHORT f_rfr_desc = 11;
103
const USHORT f_rfr_default = 12;
104
const USHORT f_rfr_sys_flag = 13;
105
const USHORT f_rfr_class = 14;
106
const USHORT f_rfr_complex = 15;
107
const USHORT f_rfr_null_flag = 16;
108
const USHORT f_rfr_dsource = 17;
109
const USHORT f_rfr_coll_id = 18;
112
const USHORT f_rel_blr = 0;
113
const USHORT f_rel_source = 1;
114
const USHORT f_rel_desc = 2;
115
const USHORT f_rel_id = 3;
116
const USHORT f_rel_sys_flag = 4;
117
const USHORT f_rel_key_len = 5;
118
const USHORT f_rel_format = 6;
119
const USHORT f_rel_field_id = 7;
120
const USHORT f_rel_name = 8;
121
const USHORT f_rel_class = 9;
122
const USHORT f_rel_ext_file = 10;
123
const USHORT f_rel_runtime = 11;
124
const USHORT f_rel_ext_desc = 12;
125
const USHORT f_rel_owner = 13;
126
const USHORT f_rel_def_class = 14;
127
const USHORT f_rel_flags = 15;
128
const USHORT f_rel_type = 16;
131
const USHORT f_vrl_vname = 0;
132
const USHORT f_vrl_rname = 1;
133
const USHORT f_vrl_context = 2;
134
const USHORT f_vrl_cname = 3;
137
const USHORT f_fmt_rid = 0;
138
const USHORT f_fmt_format = 1;
139
const USHORT f_fmt_desc = 2;
142
const USHORT f_cls_class = 0;
143
const USHORT f_cls_acl = 1;
144
const USHORT f_cls_desc = 2;
147
const USHORT f_file_name = 0;
148
const USHORT f_file_seq = 1;
149
const USHORT f_file_start = 2;
150
const USHORT f_file_length = 3;
151
const USHORT f_file_flags = 4;
152
const USHORT f_file_shad_num = 5;
155
const USHORT f_typ_field = 0;
156
const USHORT f_typ_type = 1;
157
const USHORT f_typ_name = 2;
158
const USHORT f_typ_desc = 3;
159
const USHORT f_typ_sys_flag = 4;
162
const USHORT f_trg_name = 0;
163
const USHORT f_trg_rname = 1;
164
const USHORT f_trg_seq = 2;
165
const USHORT f_trg_type = 3;
166
const USHORT f_trg_source = 4;
167
const USHORT f_trg_blr = 5;
168
const USHORT f_trg_desc = 6;
169
const USHORT f_trg_inactive = 7;
170
const USHORT f_trg_sys_flag = 8;
171
const USHORT f_trg_flags = 9;
172
const USHORT f_trg_valid_blr = 10;
173
const USHORT f_trg_debug_info = 11;
176
const USHORT f_dpd_name = 0;
177
const USHORT f_dpd_o_name = 1;
178
const USHORT f_dpd_f_name = 2;
179
const USHORT f_dpd_type = 3;
180
const USHORT f_dpd_o_type = 4;
183
const USHORT f_fun_name = 0;
184
const USHORT f_fun_type = 1;
185
const USHORT f_fun_qname = 2;
186
const USHORT f_fun_desc = 3;
187
const USHORT f_fun_module = 4;
188
const USHORT f_fun_entry = 5;
189
const USHORT f_fun_ret_arg = 6;
190
const USHORT f_fun_sys_flag = 7;
193
const USHORT f_arg_fun_name = 0;
194
const USHORT f_arg_pos = 1;
195
const USHORT f_arg_mech = 2;
196
const USHORT f_arg_type = 3;
197
const USHORT f_arg_scale = 4;
198
const USHORT f_arg_length = 5;
199
const USHORT f_arg_sub_type = 6;
200
const USHORT f_arg_charset_id = 7;
201
const USHORT f_arg_precision = 8;
202
const USHORT f_arg_char_length = 9;
205
const USHORT f_flt_name = 0;
206
const USHORT f_flt_desc = 1;
207
const USHORT f_flt_module = 2;
208
const USHORT f_flt_entry = 3;
209
const USHORT f_flt_input = 4;
210
const USHORT f_flt_output = 5;
211
const USHORT f_flt_sys_flag = 6;
214
const USHORT f_msg_trigger = 0;
215
const USHORT f_msg_number = 1;
216
const USHORT f_msg_msg = 2;
219
const USHORT f_prv_user = 0;
220
const USHORT f_prv_grantor = 1;
221
const USHORT f_prv_priv = 2;
222
const USHORT f_prv_grant = 3;
223
const USHORT f_prv_rname = 4;
224
const USHORT f_prv_fname = 5;
225
const USHORT f_prv_u_type = 6;
226
const USHORT f_prv_o_type = 7;
229
const USHORT f_trn_id = 0;
230
const USHORT f_trn_state = 1;
231
const USHORT f_trn_time = 2;
232
const USHORT f_trn_desc = 3;
235
const USHORT f_gen_name = 0;
236
const USHORT f_gen_id = 1;
237
const USHORT f_gen_sys_flag = 2;
238
const USHORT f_gen_desc = 3;
241
const USHORT f_dims_fname = 0;
242
const USHORT f_dims_dim = 1;
243
const USHORT f_dims_lower = 2;
244
const USHORT f_dims_upper = 3;
247
const USHORT f_rcon_cname = 0;
248
const USHORT f_rcon_ctype = 1;
249
const USHORT f_rcon_rname = 2;
250
const USHORT f_rcon_dfr = 3;
251
const USHORT f_rcon_idfr = 4;
252
const USHORT f_rcon_iname = 5;
255
const USHORT f_refc_cname = 0;
256
const USHORT f_refc_uq = 1;
257
const USHORT f_refc_match = 2;
258
const USHORT f_refc_upd_rul = 3;
259
const USHORT f_refc_del_rul = 4;
262
const USHORT f_ccon_cname = 0;
263
const USHORT f_ccon_tname = 1;
266
const USHORT f_log_name = 0;
267
const USHORT f_log_seq = 1;
268
const USHORT f_log_length = 2;
269
const USHORT f_log_partitions = 3;
270
const USHORT f_log_p_offset = 4;
271
const USHORT f_log_flags = 5;
274
const USHORT f_prc_name = 0;
275
const USHORT f_prc_id = 1;
276
const USHORT f_prc_inputs = 2;
277
const USHORT f_prc_outputs = 3;
278
const USHORT f_prc_desc = 4;
279
const USHORT f_prc_source = 5;
280
const USHORT f_prc_blr = 6;
281
const USHORT f_prc_class = 7;
282
const USHORT f_prc_owner = 8;
283
const USHORT f_prc_runtime = 9;
284
const USHORT f_prc_sys_flag = 10;
285
const USHORT f_prc_type = 11;
286
const USHORT f_prc_valid_blr = 12;
287
const USHORT f_prc_debug_info = 13;
290
const USHORT f_prm_name = 0;
291
const USHORT f_prm_procedure = 1;
292
const USHORT f_prm_number = 2;
293
const USHORT f_prm_type = 3;
294
const USHORT f_prm_sname = 4;
295
const USHORT f_prm_desc = 5;
296
const USHORT f_prm_sys_flag = 6;
297
const USHORT f_prm_default = 7;
298
const USHORT f_prm_dsource = 8;
299
const USHORT f_prm_coll_id = 9;
300
const USHORT f_prm_null_flag = 10;
301
const USHORT f_prm_mech = 11;
304
const USHORT f_cs_cs_name = 0;
305
const USHORT f_cs_form_of_use = 1;
306
const USHORT f_cs_num_chars = 2;
307
const USHORT f_cs_def_collate = 3;
308
const USHORT f_cs_id = 4;
309
const USHORT f_cs_sys_flag = 5;
310
const USHORT f_cs_desc = 6;
311
const USHORT f_cs_fun_name = 7;
312
const USHORT f_cs_bytes_char = 8;
315
const USHORT f_coll_name = 0;
316
const USHORT f_coll_id = 1;
317
const USHORT f_coll_cs_id = 2;
318
const USHORT f_coll_attr = 3;
319
const USHORT f_coll_sys_flag = 4;
320
const USHORT f_coll_desc = 5;
321
const USHORT f_coll_fun_name = 6;
322
const USHORT f_coll_base_collation_name = 7;
323
const USHORT f_coll_specific_attr = 8;
326
const USHORT f_xcp_name = 0;
327
const USHORT f_xcp_number = 1;
328
const USHORT f_xcp_msg = 2;
329
const USHORT f_xcp_desc = 3;
330
const USHORT f_xcp_sys_flag = 4;
333
const USHORT f_rol_name = 0;
334
const USHORT f_rol_owner = 1;
335
const USHORT f_rol_desc = 2;
336
const USHORT f_rol_sys_flag = 3;
339
const USHORT f_backup_id = 0;
340
const USHORT f_backup_time = 1;
341
const USHORT f_backup_level = 2;
342
const USHORT f_backup_guid = 3;
343
const USHORT f_backup_scn = 4;
344
const USHORT f_backup_name = 5;
350
const USHORT f_mon_db_name = 0;
351
const USHORT f_mon_db_page_size = 1;
352
const USHORT f_mon_db_ods_major = 2;
353
const USHORT f_mon_db_ods_minor = 3;
354
const USHORT f_mon_db_oit = 4;
355
const USHORT f_mon_db_oat = 5;
356
const USHORT f_mon_db_ost = 6;
357
const USHORT f_mon_db_nt = 7;
358
const USHORT f_mon_db_page_bufs = 8;
359
const USHORT f_mon_db_dialect = 9;
360
const USHORT f_mon_db_shut_mode = 10;
361
const USHORT f_mon_db_sweep_int = 11;
362
const USHORT f_mon_db_read_only = 12;
363
const USHORT f_mon_db_forced_writes = 13;
364
const USHORT f_mon_db_res_space = 14;
365
const USHORT f_mon_db_created = 15;
366
const USHORT f_mon_db_pages = 16;
367
const USHORT f_mon_db_stat_id = 17;
368
const USHORT f_mon_db_backup_state = 18;
371
const USHORT f_mon_att_id = 0;
372
const USHORT f_mon_att_server_pid = 1;
373
const USHORT f_mon_att_state = 2;
374
const USHORT f_mon_att_name = 3;
375
const USHORT f_mon_att_user = 4;
376
const USHORT f_mon_att_role = 5;
377
const USHORT f_mon_att_remote_proto = 6;
378
const USHORT f_mon_att_remote_addr = 7;
379
const USHORT f_mon_att_remote_pid = 8;
380
const USHORT f_mon_att_charset_id = 9;
381
const USHORT f_mon_att_timestamp = 10;
382
const USHORT f_mon_att_gc = 11;
383
const USHORT f_mon_att_remote_process = 12;
384
const USHORT f_mon_att_stat_id = 13;
387
const USHORT f_mon_tra_id = 0;
388
const USHORT f_mon_tra_att_id = 1;
389
const USHORT f_mon_tra_state = 2;
390
const USHORT f_mon_tra_timestamp = 3;
391
const USHORT f_mon_tra_top = 4;
392
const USHORT f_mon_tra_oit = 5;
393
const USHORT f_mon_tra_oat = 6;
394
const USHORT f_mon_tra_iso_mode = 7;
395
const USHORT f_mon_tra_lock_timeout = 8;
396
const USHORT f_mon_tra_read_only = 9;
397
const USHORT f_mon_tra_auto_commit = 10;
398
const USHORT f_mon_tra_auto_undo = 11;
399
const USHORT f_mon_tra_stat_id = 12;
402
const USHORT f_mon_stmt_id = 0;
403
const USHORT f_mon_stmt_att_id = 1;
404
const USHORT f_mon_stmt_tra_id = 2;
405
const USHORT f_mon_stmt_state = 3;
406
const USHORT f_mon_stmt_timestamp = 4;
407
const USHORT f_mon_stmt_sql_text = 5;
408
const USHORT f_mon_stmt_stat_id = 6;
411
const USHORT f_mon_call_id = 0;
412
const USHORT f_mon_call_stmt_id = 1;
413
const USHORT f_mon_call_caller_id = 2;
414
const USHORT f_mon_call_name = 3;
415
const USHORT f_mon_call_type = 4;
416
const USHORT f_mon_call_timestamp = 5;
417
const USHORT f_mon_call_src_line = 6;
418
const USHORT f_mon_call_src_column = 7;
419
const USHORT f_mon_call_stat_id = 8;
422
const USHORT f_mon_io_stat_id = 0;
423
const USHORT f_mon_io_stat_group = 1;
424
const USHORT f_mon_io_page_reads = 2;
425
const USHORT f_mon_io_page_writes = 3;
426
const USHORT f_mon_io_page_fetches = 4;
427
const USHORT f_mon_io_page_marks = 5;
430
const USHORT f_mon_rec_stat_id = 0;
431
const USHORT f_mon_rec_stat_group = 1;
432
const USHORT f_mon_rec_seq_reads = 2;
433
const USHORT f_mon_rec_idx_reads = 3;
434
const USHORT f_mon_rec_inserts = 4;
435
const USHORT f_mon_rec_updates = 5;
436
const USHORT f_mon_rec_deletes = 6;
437
const USHORT f_mon_rec_backouts = 7;
438
const USHORT f_mon_rec_purges = 8;
439
const USHORT f_mon_rec_expunges = 9;