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: 754d07964aadf68fe7dab0fad9da016090e9cdae (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
<?php

/**
 * PHPPgAdmin 6.1.2
 */

namespace PHPPgAdmin\Database;

/**
 * @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 = \PHPPgAdmin\Help\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 bool
     */
    public function hasObjectID($table)
    {
        return false;
    }
}