pgsql.php 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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 Marcelo Santos Araujo <msaraujo@php.net>
  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']['pgsql']
  50. /**
  51. * Has a list of reserved words of pgsql
  52. *
  53. * @package MDB2_Schema
  54. * @category Database
  55. * @access protected
  56. * @author Marcelo Santos Araujo <msaraujo@php.net>
  57. */
  58. $GLOBALS['_MDB2_Schema_Reserved']['pgsql'] = array(
  59. 'ALL',
  60. 'ANALYSE',
  61. 'ANALYZE',
  62. 'AND',
  63. 'ANY',
  64. 'AS',
  65. 'ASC',
  66. 'AUTHORIZATION',
  67. 'BETWEEN',
  68. 'BINARY',
  69. 'BOTH',
  70. 'CASE',
  71. 'CAST',
  72. 'CHECK',
  73. 'COLLATE',
  74. 'COLUMN',
  75. 'CONSTRAINT',
  76. 'CREATE',
  77. 'CURRENT_DATE',
  78. 'CURRENT_TIME',
  79. 'CURRENT_TIMESTAMP',
  80. 'CURRENT_USER',
  81. 'DEFAULT',
  82. 'DEFERRABLE',
  83. 'DESC',
  84. 'DISTINCT',
  85. 'DO',
  86. 'ELSE',
  87. 'END',
  88. 'EXCEPT',
  89. 'FALSE',
  90. 'FOR',
  91. 'FOREIGN',
  92. 'FREEZE',
  93. 'FROM',
  94. 'FULL',
  95. 'GRANT',
  96. 'GROUP',
  97. 'HAVING',
  98. 'ILIKE',
  99. 'IN',
  100. 'INITIALLY',
  101. 'INNER',
  102. 'INTERSECT',
  103. 'INTO',
  104. 'IS',
  105. 'ISNULL',
  106. 'JOIN',
  107. 'LEADING',
  108. 'LEFT',
  109. 'LIKE',
  110. 'LIMIT',
  111. 'LOCALTIME',
  112. 'LOCALTIMESTAMP',
  113. 'NATURAL',
  114. 'NEW',
  115. 'NOT',
  116. 'NOTNULL',
  117. 'NULL',
  118. 'OFF',
  119. 'OFFSET',
  120. 'OLD',
  121. 'ON',
  122. 'ONLY',
  123. 'OR',
  124. 'ORDER',
  125. 'OUTER',
  126. 'OVERLAPS',
  127. 'PLACING',
  128. 'PRIMARY',
  129. 'REFERENCES',
  130. 'SELECT',
  131. 'SESSION_USER',
  132. 'SIMILAR',
  133. 'SOME',
  134. 'TABLE',
  135. 'THEN',
  136. 'TO',
  137. 'TRAILING',
  138. 'TRUE',
  139. 'UNION',
  140. 'UNIQUE',
  141. 'USER',
  142. 'USING',
  143. 'VERBOSE',
  144. 'WHEN',
  145. 'WHERE'
  146. );
  147. // }}}