PostgreSQL92Keywords.php 541 Bytes
Newer Older
1 2 3 4
<?php

namespace Doctrine\DBAL\Platforms\Keywords;

5 6
use function array_merge;

7 8 9
/**
 * PostgreSQL 9.2 reserved keywords list.
 */
10
class PostgreSQL92Keywords extends PostgreSQL91Keywords
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
{
    /**
     * {@inheritdoc}
     */
    public function getName()
    {
        return 'PostgreSQL92';
    }

    /**
     * {@inheritdoc}
     *
     * @link http://www.postgresql.org/docs/9.2/static/sql-keywords-appendix.html
     */
    protected function getKeywords()
    {
27
        return array_merge(parent::getKeywords(), ['COLLATION']);
28 29
    }
}