ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/trunk/fbintf/include/dyn_consts.inc
Revision: 329
Committed: Fri Feb 26 09:36:32 2021 UTC (3 years, 8 months ago) by tony
File size: 14863 byte(s)
Log Message:
Add missing files

File Contents

# Content
1
2 {$IFDEF FPC}
3 {$PACKRECORDS C}
4 {$ENDIF}
5
6
7 {
8 * MODULE: dyn_consts.h
9 * DESCRIPTION: DYN constants' definitions
10 *
11 * The contents of this file are subject to the Interbase Public
12 * License Version 1.0 (the "License"); you may not use this file
13 * except in compliance with the License. You may obtain a copy
14 * of the License at http://www.Inprise.com/IPL.html
15 *
16 * Software distributed under the License is distributed on an
17 * "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
18 * or implied. See the License for the specific language governing
19 * rights and limitations under the License.
20 *
21 * The Original Code was created by Inprise Corporation
22 * and its predecessors. Portions created by Inprise Corporation are
23 * Copyright (C) Inprise Corporation.
24 *
25 * All Rights Reserved.
26 * Contributor(s): ______________________________________.
27 *
28 * 18.08.2006 Dimitry Sibiryakov: Extracted it from ibase.h
29 *
30 }
31 {$ifndef INCLUDE_DYN_CONSTS_H}
32 {$define INCLUDE_DYN_CONSTS_H}
33 {******************************************** }
34 { Dynamic Data Definition Language operators }
35 {******************************************** }
36 {**************** }
37 { Version number }
38 {**************** }
39
40 const
41 isc_dyn_version_1 = 1;
42 isc_dyn_eoc = 255;
43 {**************************** }
44 { Operations (may be nested) }
45 {**************************** }
46 isc_dyn_begin = 2;
47 isc_dyn_end = 3;
48 isc_dyn_schema_name = 4;
49 isc_dyn_def_database = 5; { only used in pretty.cpp; nobody generates it }
50 isc_dyn_def_global_fld = 6;
51 isc_dyn_def_local_fld = 7;
52 isc_dyn_def_idx = 8;
53 isc_dyn_def_rel = 9;
54 isc_dyn_def_sql_fld = 10;
55 isc_dyn_def_view = 12;
56 isc_dyn_def_trigger = 15;
57 isc_dyn_def_security_class = 120; { only used in pretty.cpp; nobody generates it }
58 isc_dyn_def_dimension = 140;
59 isc_dyn_def_generator = 24;
60 isc_dyn_def_function = 25;
61 isc_dyn_def_filter = 26;
62 isc_dyn_def_function_arg = 27;
63 isc_dyn_def_shadow = 34;
64 isc_dyn_def_trigger_msg = 17;
65 isc_dyn_def_file = 36;
66 isc_dyn_mod_database = 39;
67 isc_dyn_mod_rel = 11;
68 isc_dyn_mod_global_fld = 13;
69 isc_dyn_mod_idx = 102;
70 isc_dyn_mod_local_fld = 14;
71 isc_dyn_mod_sql_fld = 216;
72 isc_dyn_mod_view = 16;
73 isc_dyn_mod_security_class = 122; { only used in pretty.cpp; nobody generates it }
74 isc_dyn_mod_trigger = 113; { only used in pretty.cpp; nobody generates it }
75 isc_dyn_mod_trigger_msg = 28; { only used in pretty.cpp; nobody generates it }
76 isc_dyn_delete_database = 18; { only used in pretty.cpp; nobody generates it }
77 isc_dyn_delete_rel = 19;
78 isc_dyn_delete_global_fld = 20;
79 isc_dyn_delete_local_fld = 21;
80 isc_dyn_delete_idx = 22;
81 isc_dyn_delete_security_class = 123; { only used in pretty.cpp; nobody generates it }
82 isc_dyn_delete_dimensions = 143;
83 isc_dyn_delete_trigger = 23; { only used in pretty.cpp; nobody generates it }
84 isc_dyn_delete_trigger_msg = 29; { only used in pretty.cpp; nobody generates it }
85 isc_dyn_delete_filter = 32;
86 isc_dyn_delete_function = 33;
87 isc_dyn_delete_shadow = 35;
88 isc_dyn_grant = 30;
89 isc_dyn_revoke = 31;
90 isc_dyn_revoke_all = 246;
91 isc_dyn_def_primary_key = 37;
92 isc_dyn_def_foreign_key = 38;
93 isc_dyn_def_unique = 40;
94 isc_dyn_def_procedure = 164; { only used in pretty.cpp; nobody generates it }
95 isc_dyn_delete_procedure = 165; { only used in pretty.cpp; nobody generates it }
96 isc_dyn_def_parameter = 135; { only used in pretty.cpp; nobody generates it }
97 isc_dyn_delete_parameter = 136; { only used in pretty.cpp; nobody generates it }
98 isc_dyn_mod_procedure = 175; { only used in pretty.cpp; nobody generates it }
99 { Deprecated.
100 #define isc_dyn_def_log_file 176
101 #define isc_dyn_def_cache_file 180
102 }
103 isc_dyn_def_exception = 181;
104 isc_dyn_mod_exception = 182;
105 isc_dyn_del_exception = 183;
106 { Deprecated.
107 #define isc_dyn_drop_log 194
108 #define isc_dyn_drop_cache 195
109 #define isc_dyn_def_default_log 202
110 }
111 isc_dyn_def_difference = 220;
112 isc_dyn_drop_difference = 221;
113 isc_dyn_begin_backup = 222;
114 isc_dyn_end_backup = 223;
115 isc_dyn_debug_info = 240;
116 {********************* }
117 { View specific stuff }
118 {********************* }
119 isc_dyn_view_blr = 43;
120 isc_dyn_view_source = 44;
121 isc_dyn_view_relation = 45;
122 isc_dyn_view_context = 46;
123 isc_dyn_view_context_name = 47;
124 isc_dyn_view_context_type = 48;
125 {******************** }
126 { Generic attributes }
127 {******************** }
128 isc_dyn_rel_name = 50;
129 isc_dyn_fld_name = 51;
130 isc_dyn_new_fld_name = 215;
131 {#define isc_dyn_idx_name 52 }
132 isc_dyn_description = 53;
133 isc_dyn_security_class = 54;
134 isc_dyn_system_flag = 55;
135 isc_dyn_update_flag = 56;
136 isc_dyn_prc_name = 166;
137 {#define isc_dyn_prm_name 137 }
138 isc_dyn_sql_object = 196;
139 isc_dyn_fld_character_set_name = 174;
140 isc_dyn_pkg_name = 247;
141 isc_dyn_fun_name = 251;
142 {****************************** }
143 { Relation specific attributes }
144 {****************************** }
145 {#define isc_dyn_rel_dbkey_length 61 }
146 {#define isc_dyn_rel_store_trig 62 }
147 {#define isc_dyn_rel_modify_trig 63 }
148 {#define isc_dyn_rel_erase_trig 64 }
149 {#define isc_dyn_rel_store_trig_source 65 }
150 {#define isc_dyn_rel_modify_trig_source 66 }
151 {#define isc_dyn_rel_erase_trig_source 67 }
152 isc_dyn_rel_ext_file = 68;
153 isc_dyn_rel_sql_protection = 69;
154 isc_dyn_rel_constraint = 162;
155 isc_dyn_delete_rel_constraint = 163;
156 isc_dyn_rel_temporary = 238;
157 isc_dyn_rel_temp_global_preserve = 1;
158 isc_dyn_rel_temp_global_delete = 2;
159 {********************************** }
160 { Global field specific attributes }
161 {********************************** }
162 isc_dyn_fld_type = 70;
163 isc_dyn_fld_length = 71;
164 isc_dyn_fld_scale = 72;
165 isc_dyn_fld_sub_type = 73;
166 isc_dyn_fld_segment_length = 74;
167 isc_dyn_fld_query_header = 75;
168 isc_dyn_fld_edit_string = 76;
169 isc_dyn_fld_validation_blr = 77;
170 isc_dyn_fld_validation_source = 78;
171 isc_dyn_fld_computed_blr = 79;
172 isc_dyn_fld_computed_source = 80;
173 isc_dyn_fld_missing_value = 81;
174 isc_dyn_fld_default_value = 82;
175 isc_dyn_fld_query_name = 83;
176 isc_dyn_fld_dimensions = 84;
177 isc_dyn_fld_not_null = 85;
178 isc_dyn_fld_precision = 86;
179 isc_dyn_fld_char_length = 172;
180 isc_dyn_fld_collation = 173;
181 isc_dyn_fld_default_source = 193;
182 isc_dyn_del_default = 197;
183 isc_dyn_del_validation = 198;
184 isc_dyn_single_validation = 199;
185 isc_dyn_fld_character_set = 203;
186 isc_dyn_del_computed = 242;
187 isc_dyn_def_engine = 250;
188 {********************************* }
189 { Local field specific attributes }
190 {********************************* }
191 isc_dyn_fld_source = 90;
192 isc_dyn_fld_base_fld = 91;
193 isc_dyn_fld_position = 92;
194 isc_dyn_fld_update_flag = 93;
195 isc_dyn_fld_identity = 253;
196 {*************************** }
197 { Index specific attributes }
198 {*************************** }
199 isc_dyn_idx_unique = 100;
200 isc_dyn_idx_inactive = 101;
201 isc_dyn_idx_type = 103;
202 isc_dyn_idx_foreign_key = 104;
203 isc_dyn_idx_ref_column = 105;
204 isc_dyn_idx_statistic = 204;
205 {***************************** }
206 { Trigger specific attributes }
207 {***************************** }
208 isc_dyn_trg_type = 110;
209 isc_dyn_trg_blr = 111;
210 isc_dyn_trg_source = 112;
211 {#define isc_dyn_trg_name 114 }
212 isc_dyn_trg_sequence = 115;
213 isc_dyn_trg_inactive = 116;
214 {#define isc_dyn_trg_msg_number 117 }
215 isc_dyn_trg_msg = 118;
216 {************************************ }
217 { Security Class specific attributes }
218 {************************************ }
219 isc_dyn_scl_acl = 121; { only used in pretty.cpp; nobody generates it }
220 isc_dyn_grant_user = 130;
221 isc_dyn_grant_user_explicit = 219;
222 isc_dyn_grant_proc = 186;
223 isc_dyn_grant_trig = 187;
224 isc_dyn_grant_view = 188;
225 isc_dyn_grant_options = 132;
226 isc_dyn_grant_user_group = 205;
227 isc_dyn_grant_role = 218;
228 isc_dyn_grant_grantor = 245;
229 isc_dyn_grant_package = 248;
230 isc_dyn_grant_func = 252;
231 isc_dyn_fld_null = 249;
232 {******************************** }
233 { Dimension specific information }
234 {******************************** }
235 isc_dyn_dim_lower = 141;
236 isc_dyn_dim_upper = 142;
237 {************************** }
238 { File specific attributes }
239 {************************** }
240 {#define isc_dyn_file_name 125 }
241 isc_dyn_file_start = 126;
242 isc_dyn_file_length = 127;
243 {#define isc_dyn_shadow_number 128 }
244 isc_dyn_shadow_man_auto = 129;
245 isc_dyn_shadow_conditional = 130;
246 {****************************** }
247 { Log file specific attributes }
248 {****************************** }
249 { Deprecated.
250 #define isc_dyn_log_file_sequence 177
251 #define isc_dyn_log_file_partitions 178
252 #define isc_dyn_log_file_serial 179
253 #define isc_dyn_log_file_overflow 200
254 #define isc_dyn_log_file_raw 201
255 }
256 {************************* }
257 { Log specific attributes }
258 {************************* }
259 { Deprecated.
260 #define isc_dyn_log_group_commit_wait 189
261 #define isc_dyn_log_buffer_size 190
262 #define isc_dyn_log_check_point_length 191
263 #define isc_dyn_log_num_of_buffers 192
264 }
265 {****************************** }
266 { Function specific attributes }
267 {****************************** }
268 isc_dyn_function_name = 145;
269 {#define isc_dyn_function_type 146 }
270 isc_dyn_func_module_name = 147;
271 isc_dyn_func_entry_point = 148;
272 isc_dyn_func_return_argument = 149;
273 {#define isc_dyn_func_arg_position 150 }
274 isc_dyn_func_mechanism = 151;
275 isc_dyn_filter_in_subtype = 152;
276 isc_dyn_filter_out_subtype = 153;
277 {#define isc_dyn_description2 154 }
278 {#define isc_dyn_fld_computed_source2 155 }
279 {#define isc_dyn_fld_edit_string2 156 }
280 {#define isc_dyn_fld_query_header2 157 }
281 {#define isc_dyn_fld_validation_source2 158 }
282 {#define isc_dyn_trg_msg2 159 }
283 {#define isc_dyn_trg_source2 160 }
284 {#define isc_dyn_view_source2 161 }
285 {#define isc_dyn_xcp_msg2 184 }
286 {******************************* }
287 { Generator specific attributes }
288 {******************************* }
289 {#define isc_dyn_generator_name 95 }
290 {#define isc_dyn_generator_id 96 }
291 {******************************* }
292 { Procedure specific attributes }
293 {******************************* }
294 {#define isc_dyn_prc_inputs 167 }
295 {#define isc_dyn_prc_outputs 168 }
296 isc_dyn_prc_source = 169; { only used in pretty.cpp; nobody generates it }
297 isc_dyn_prc_blr = 170; { only used in pretty.cpp; nobody generates it }
298 {#define isc_dyn_prc_source2 171 }
299 {#define isc_dyn_prc_type 239 }
300 {#define isc_dyn_prc_t_selectable 1 }
301 {#define isc_dyn_prc_t_executable 2 }
302 {******************************* }
303 { Parameter specific attributes }
304 {******************************* }
305 {#define isc_dyn_prm_number 138 }
306 {#define isc_dyn_prm_type 139 }
307 {#define isc_dyn_prm_mechanism 241 }
308 {****************************** }
309 { Relation specific attributes }
310 {****************************** }
311 isc_dyn_xcp_msg = 185;
312 {******************************************** }
313 { Cascading referential integrity values }
314 {******************************************** }
315 isc_dyn_foreign_key_update = 205;
316 isc_dyn_foreign_key_delete = 206;
317 isc_dyn_foreign_key_cascade = 207;
318 isc_dyn_foreign_key_default = 208;
319 isc_dyn_foreign_key_null = 209;
320 isc_dyn_foreign_key_none = 210;
321 {********************* }
322 { SQL role values }
323 {********************* }
324 isc_dyn_def_sql_role = 211;
325 isc_dyn_sql_role_name = 212;
326 isc_dyn_grant_admin_options = 213;
327 isc_dyn_del_sql_role = 214;
328 { 215 & 216 are used some lines above. }
329 {******************************************** }
330 { Generators again }
331 {******************************************** }
332 isc_dyn_delete_generator = 217;
333 { New for comments in objects. }
334 isc_dyn_mod_function = 224;
335 {#define isc_dyn_mod_filter 225 }
336 {#define isc_dyn_mod_generator 226 }
337 {#define isc_dyn_mod_sql_role 227 }
338 {#define isc_dyn_mod_charset 228 }
339 {#define isc_dyn_mod_collation 229 }
340 {#define isc_dyn_mod_prc_parameter 230 }
341 {********************* }
342 { collation values }
343 {********************* }
344 isc_dyn_def_collation = 231;
345 isc_dyn_coll_for_charset = 232;
346 isc_dyn_coll_from = 233;
347 isc_dyn_coll_from_external = 239;
348 isc_dyn_coll_attribute = 234;
349 isc_dyn_coll_specific_attributes_charset = 235;
350 isc_dyn_coll_specific_attributes = 236;
351 isc_dyn_del_collation = 237;
352 {**************************************** }
353 { Mapping OS security objects to DB ones }
354 {**************************************** }
355 isc_dyn_mapping = 243;
356 isc_dyn_map_role = 1;
357 isc_dyn_unmap_role = 2;
358 {#define isc_dyn_map_user 3 }
359 {#define isc_dyn_unmap_user 4 }
360 isc_dyn_automap_role = 5;
361 isc_dyn_autounmap_role = 6;
362 {****************** }
363 { Users control }
364 {****************** }
365 isc_dyn_user = 244;
366 isc_dyn_user_add = 1;
367 isc_dyn_user_mod = 2;
368 isc_dyn_user_del = 3;
369 isc_dyn_user_passwd = 4;
370 isc_dyn_user_first = 5;
371 isc_dyn_user_middle = 6;
372 isc_dyn_user_last = 7;
373 isc_dyn_user_admin = 8;
374 isc_user_end = 0;
375 {************************** }
376 { Last $dyn value assigned }
377 {************************** }
378 {#define isc_dyn_last_dyn_value 254 }
379 {$endif}
380 { INCLUDE_DYN_CONSTS_H }
381