| 148 |
lars |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
declare(strict_types=1);
|
|
|
4 |
|
|
|
5 |
namespace Doctrine\DBAL\Platforms;
|
|
|
6 |
|
|
|
7 |
use Doctrine\DBAL\Platforms\Keywords\PostgreSQL100Keywords;
|
|
|
8 |
use Doctrine\Deprecations\Deprecation;
|
|
|
9 |
|
|
|
10 |
/**
|
|
|
11 |
* Provides the behavior, features and SQL dialect of the PostgreSQL 10.0 database platform.
|
|
|
12 |
*
|
|
|
13 |
* @deprecated This class will be merged with {@see PostgreSQLPlatform} in 4.0 because support for Postgres
|
|
|
14 |
* releases prior to 10.0 will be dropped.
|
|
|
15 |
*/
|
|
|
16 |
class PostgreSQL100Platform extends PostgreSQL94Platform
|
|
|
17 |
{
|
|
|
18 |
/** @deprecated Implement {@see createReservedKeywordsList()} instead. */
|
|
|
19 |
protected function getReservedKeywordsClass(): string
|
|
|
20 |
{
|
|
|
21 |
Deprecation::triggerIfCalledFromOutside(
|
|
|
22 |
'doctrine/dbal',
|
|
|
23 |
'https://github.com/doctrine/dbal/issues/4510',
|
|
|
24 |
'PostgreSQL100Platform::getReservedKeywordsClass() is deprecated,'
|
|
|
25 |
. ' use PostgreSQL100Platform::createReservedKeywordsList() instead.',
|
|
|
26 |
);
|
|
|
27 |
|
|
|
28 |
return PostgreSQL100Keywords::class;
|
|
|
29 |
}
|
|
|
30 |
}
|