Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Postgres12.php « database « src - github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e88092bd4ca754c5485a292a17ed071cc3df43cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php

/**
 * PHPPgAdmin6
 */

namespace PHPPgAdmin\Database;

use PHPPgAdmin\Help\PostgresDoc12;

/**
 * @file
 * PostgreSQL 12.x support
 */
/**
 * Class to add support for Postgres12.
 */
class Postgres12 extends Postgres11
{
    /**
     * @var float
     */
    public $major_version = 12;

    /**
     * @var class-string
     */
    public $help_classname = PostgresDoc12::class;

    /**
     * Checks to see whether or not a table has a unique id column.
     *
     * @deprecated this field has been removed of pg_class as of PG 12
     * @see https://www.postgresql.org/docs/12/catalog-pg-class.html
     *
     * @param string $table The table name
     *
     * @return false
     */
    public function hasObjectID($table)
    {
        return false;
    }
}