ibase.php 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438
  1. <?php /* vim: se et ts=4 sw=4 sts=4 fdm=marker tw=80: */
  2. /**
  3. * Copyright (c) 1998-2010 Manuel Lemos, Tomas V.V.Cox,
  4. * Stig. S. Bakken, Lukas Smith, Igor Feghali
  5. * All rights reserved.
  6. *
  7. * MDB2_Schema enables users to maintain RDBMS independant schema files
  8. * in XML that can be used to manipulate both data and database schemas
  9. * This LICENSE is in the BSD license style.
  10. *
  11. * Redistribution and use in source and binary forms, with or without
  12. * modification, are permitted provided that the following conditions
  13. * are met:
  14. *
  15. * Redistributions of source code must retain the above copyright
  16. * notice, this list of conditions and the following disclaimer.
  17. *
  18. * Redistributions in binary form must reproduce the above copyright
  19. * notice, this list of conditions and the following disclaimer in the
  20. * documentation and/or other materials provided with the distribution.
  21. *
  22. * Neither the name of Manuel Lemos, Tomas V.V.Cox, Stig. S. Bakken,
  23. * Lukas Smith, Igor Feghali nor the names of his contributors may be
  24. * used to endorse or promote products derived from this software
  25. * without specific prior written permission.
  26. *
  27. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  28. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  29. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  30. * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
  31. * REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
  32. * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
  33. * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
  34. * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
  35. * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  36. * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
  37. * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  38. * POSSIBILITY OF SUCH DAMAGE.
  39. *
  40. * PHP version 5
  41. *
  42. * @category Database
  43. * @package MDB2_Schema
  44. * @author Lorenzo Alberton <l.alberton@quipo.it>
  45. * @license BSD http://www.opensource.org/licenses/bsd-license.php
  46. * @version SVN: $Id$
  47. * @link http://pear.php.net/packages/MDB2_Schema
  48. */
  49. // {{{ $GLOBALS['_MDB2_Schema_Reserved']['ibase']
  50. /**
  51. * Has a list of reserved words of Interbase/Firebird
  52. *
  53. * @package MDB2_Schema
  54. * @category Database
  55. * @access protected
  56. * @author Lorenzo Alberton <l.alberton@quipo.it>
  57. */
  58. $GLOBALS['_MDB2_Schema_Reserved']['ibase'] = array(
  59. 'ABS',
  60. 'ABSOLUTE',
  61. 'ACTION',
  62. 'ACTIVE',
  63. 'ADD',
  64. 'ADMIN',
  65. 'AFTER',
  66. 'ALL',
  67. 'ALLOCATE',
  68. 'ALTER',
  69. 'AND',
  70. 'ANY',
  71. 'ARE',
  72. 'AS',
  73. 'ASC',
  74. 'ASCENDING',
  75. 'ASSERTION',
  76. 'AT',
  77. 'AUTHORIZATION',
  78. 'AUTO',
  79. 'AUTODDL',
  80. 'AVG',
  81. 'BACKUP',
  82. 'BASE_NAME',
  83. 'BASED',
  84. 'BASENAME',
  85. 'BEFORE',
  86. 'BEGIN',
  87. 'BETWEEN',
  88. 'BIGINT',
  89. 'BIT',
  90. 'BIT_LENGTH',
  91. 'BLOB',
  92. 'BLOCK',
  93. 'BLOBEDIT',
  94. 'BOOLEAN',
  95. 'BOTH',
  96. 'BOTH',
  97. 'BREAK',
  98. 'BUFFER',
  99. 'BY',
  100. 'CACHE',
  101. 'CASCADE',
  102. 'CASCADED',
  103. 'CASE',
  104. 'CASE',
  105. 'CAST',
  106. 'CATALOG',
  107. 'CHAR',
  108. 'CHAR_LENGTH',
  109. 'CHARACTER',
  110. 'CHARACTER_LENGTH',
  111. 'CHECK',
  112. 'CHECK_POINT_LEN',
  113. 'CHECK_POINT_LENGTH',
  114. 'CLOSE',
  115. 'COALESCE',
  116. 'COLLATE',
  117. 'COLLATION',
  118. 'COLUMN',
  119. 'COMMENT',
  120. 'COMMIT',
  121. 'COMMITTED',
  122. 'COMPILETIME',
  123. 'COMPUTED',
  124. 'CONDITIONAL',
  125. 'CONNECT',
  126. 'CONNECTION',
  127. 'CONSTRAINT',
  128. 'CONSTRAINTS',
  129. 'CONTAINING',
  130. 'CONTINUE',
  131. 'CONVERT',
  132. 'CORRESPONDING',
  133. 'COUNT',
  134. 'CREATE',
  135. 'CROSS',
  136. 'CSTRING',
  137. 'CURRENT',
  138. 'CURRENT_CONNECTION',
  139. 'CURRENT_DATE',
  140. 'CURRENT_ROLE',
  141. 'CURRENT_TIME',
  142. 'CURRENT_TIMESTAMP',
  143. 'CURRENT_TRANSACTION',
  144. 'CURRENT_USER',
  145. 'DATABASE',
  146. 'DATE',
  147. 'DAY',
  148. 'DB_KEY',
  149. 'DEALLOCATE',
  150. 'DEBUG',
  151. 'DEC',
  152. 'DECIMAL',
  153. 'DECLARE',
  154. 'DEFAULT',
  155. 'DEFERRABLE',
  156. 'DEFERRED',
  157. 'DELETE',
  158. 'DELETING',
  159. 'DESC',
  160. 'DESCENDING',
  161. 'DESCRIBE',
  162. 'DESCRIPTOR',
  163. 'DIAGNOSTICS',
  164. 'DIFFERENCE',
  165. 'DISCONNECT',
  166. 'DISPLAY',
  167. 'DISTINCT',
  168. 'DO',
  169. 'DOMAIN',
  170. 'DOUBLE',
  171. 'DROP',
  172. 'ECHO',
  173. 'EDIT',
  174. 'ELSE',
  175. 'END',
  176. 'END-EXEC',
  177. 'ENTRY_POINT',
  178. 'ESCAPE',
  179. 'EVENT',
  180. 'EXCEPT',
  181. 'EXCEPTION',
  182. 'EXEC',
  183. 'EXECUTE',
  184. 'EXISTS',
  185. 'EXIT',
  186. 'EXTERN',
  187. 'EXTERNAL',
  188. 'EXTRACT',
  189. 'FALSE',
  190. 'FETCH',
  191. 'FILE',
  192. 'FILTER',
  193. 'FIRST',
  194. 'FLOAT',
  195. 'FOR',
  196. 'FOREIGN',
  197. 'FOUND',
  198. 'FREE_IT',
  199. 'FROM',
  200. 'FULL',
  201. 'FUNCTION',
  202. 'GDSCODE',
  203. 'GEN_ID',
  204. 'GENERATOR',
  205. 'GET',
  206. 'GLOBAL',
  207. 'GO',
  208. 'GOTO',
  209. 'GRANT',
  210. 'GROUP',
  211. 'GROUP_COMMIT_WAIT',
  212. 'GROUP_COMMIT_WAIT_TIME',
  213. 'HAVING',
  214. 'HELP',
  215. 'HOUR',
  216. 'IDENTITY',
  217. 'IF',
  218. 'IIF',
  219. 'IMMEDIATE',
  220. 'IN',
  221. 'INACTIVE',
  222. 'INDEX',
  223. 'INDICATOR',
  224. 'INIT',
  225. 'INITIALLY',
  226. 'INNER',
  227. 'INPUT',
  228. 'INPUT_TYPE',
  229. 'INSENSITIVE',
  230. 'INSERT',
  231. 'INSERTING',
  232. 'INT',
  233. 'INTEGER',
  234. 'INTERSECT',
  235. 'INTERVAL',
  236. 'INTO',
  237. 'IS',
  238. 'ISOLATION',
  239. 'ISQL',
  240. 'JOIN',
  241. 'KEY',
  242. 'LANGUAGE',
  243. 'LAST',
  244. 'LC_MESSAGES',
  245. 'LC_TYPE',
  246. 'LEADING',
  247. 'LEADING',
  248. 'LEADING',
  249. 'LEAVE',
  250. 'LEFT',
  251. 'LENGTH',
  252. 'LEV',
  253. 'LEVEL',
  254. 'LIKE',
  255. 'LOCAL',
  256. 'LOCK',
  257. 'LOG_BUF_SIZE',
  258. 'LOG_BUFFER_SIZE',
  259. 'LOGFILE',
  260. 'LONG',
  261. 'LOWER',
  262. 'MANUAL',
  263. 'MATCH',
  264. 'MAX',
  265. 'MAX_SEGMENT',
  266. 'MAXIMUM',
  267. 'MAXIMUM_SEGMENT',
  268. 'MERGE',
  269. 'MESSAGE',
  270. 'MIN',
  271. 'MINIMUM',
  272. 'MINUTE',
  273. 'MODULE',
  274. 'MODULE_NAME',
  275. 'MONTH',
  276. 'NAMES',
  277. 'NATIONAL',
  278. 'NATURAL',
  279. 'NCHAR',
  280. 'NEXT',
  281. 'NO',
  282. 'NOAUTO',
  283. 'NOT',
  284. 'NULL',
  285. 'NULLIF',
  286. 'NULLS',
  287. 'NUM_LOG_BUFFERS',
  288. 'NUM_LOG_BUFS',
  289. 'NUMERIC',
  290. 'OCTET_LENGTH',
  291. 'OF',
  292. 'ON',
  293. 'ONLY',
  294. 'OPEN',
  295. 'OPTION',
  296. 'OR',
  297. 'ORDER',
  298. 'OUTER',
  299. 'OUTPUT',
  300. 'OUTPUT_TYPE',
  301. 'OVERFLOW',
  302. 'OVERLAPS',
  303. 'PAD',
  304. 'PAGE',
  305. 'PAGE_SIZE',
  306. 'PAGELENGTH',
  307. 'PAGES',
  308. 'PARAMETER',
  309. 'PARTIAL',
  310. 'PASSWORD',
  311. 'PERCENT',
  312. 'PLAN',
  313. 'POSITION',
  314. 'POST_EVENT',
  315. 'PRECISION',
  316. 'PREPARE',
  317. 'PRESERVE',
  318. 'PRIMARY',
  319. 'PRIOR',
  320. 'PRIVILEGES',
  321. 'PROCEDURE',
  322. 'PUBLIC',
  323. 'QUIT',
  324. 'RAW_PARTITIONS',
  325. 'RDB$DB_KEY',
  326. 'READ',
  327. 'REAL',
  328. 'RECORD_VERSION',
  329. 'RECREATE',
  330. 'RECREATE ROW_COUNT',
  331. 'REFERENCES',
  332. 'RELATIVE',
  333. 'RELEASE',
  334. 'RESERV',
  335. 'RESERVING',
  336. 'RESTART',
  337. 'RESTRICT',
  338. 'RETAIN',
  339. 'RETURN',
  340. 'RETURNING',
  341. 'RETURNING_VALUES',
  342. 'RETURNS',
  343. 'REVOKE',
  344. 'RIGHT',
  345. 'ROLE',
  346. 'ROLLBACK',
  347. 'ROW_COUNT',
  348. 'ROWS',
  349. 'RUNTIME',
  350. 'SAVEPOINT',
  351. 'SCALAR_ARRAY',
  352. 'SCHEMA',
  353. 'SCROLL',
  354. 'SECOND',
  355. 'SECTION',
  356. 'SELECT',
  357. 'SEQUENCE',
  358. 'SESSION',
  359. 'SESSION_USER',
  360. 'SET',
  361. 'SHADOW',
  362. 'SHARED',
  363. 'SHELL',
  364. 'SHOW',
  365. 'SINGULAR',
  366. 'SIZE',
  367. 'SKIP',
  368. 'SMALLINT',
  369. 'SNAPSHOT',
  370. 'SOME',
  371. 'SORT',
  372. 'SPACE',
  373. 'SQL',
  374. 'SQLCODE',
  375. 'SQLERROR',
  376. 'SQLSTATE',
  377. 'SQLWARNING',
  378. 'STABILITY',
  379. 'STARTING',
  380. 'STARTS',
  381. 'STATEMENT',
  382. 'STATIC',
  383. 'STATISTICS',
  384. 'SUB_TYPE',
  385. 'SUBSTRING',
  386. 'SUM',
  387. 'SUSPEND',
  388. 'SYSTEM_USER',
  389. 'TABLE',
  390. 'TEMPORARY',
  391. 'TERMINATOR',
  392. 'THEN',
  393. 'TIES',
  394. 'TIME',
  395. 'TIMESTAMP',
  396. 'TIMEZONE_HOUR',
  397. 'TIMEZONE_MINUTE',
  398. 'TO',
  399. 'TRAILING',
  400. 'TRANSACTION',
  401. 'TRANSLATE',
  402. 'TRANSLATION',
  403. 'TRIGGER',
  404. 'TRIM',
  405. 'TRUE',
  406. 'TYPE',
  407. 'UNCOMMITTED',
  408. 'UNION',
  409. 'UNIQUE',
  410. 'UNKNOWN',
  411. 'UPDATE',
  412. 'UPDATING',
  413. 'UPPER',
  414. 'USAGE',
  415. 'USER',
  416. 'USING',
  417. 'VALUE',
  418. 'VALUES',
  419. 'VARCHAR',
  420. 'VARIABLE',
  421. 'VARYING',
  422. 'VERSION',
  423. 'VIEW',
  424. 'WAIT',
  425. 'WEEKDAY',
  426. 'WHEN',
  427. 'WHENEVER',
  428. 'WHERE',
  429. 'WHILE',
  430. 'WITH',
  431. 'WORK',
  432. 'WRITE',
  433. 'YEAR',
  434. 'YEARDAY',
  435. 'ZONE',
  436. );
  437. // }}}