blob: aa8495e1d834193291998cc1d165a731f40eb028 (
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.0.0
*/
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;
}
}
|