blob: f9979dca240be7b5fbeada9e88699240d790c077 (
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
|
<?php
/**
* PHPPgAdmin v6.0.0-RC7
*/
namespace PHPPgAdmin\Database;
/**
* @file
* PostgreSQL 12.x support
*/
/**
* Class to add support for Postgres12.
*/
class Postgres12 extends Postgres11
{
public $major_version = 12;
/**
* 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 null;
}
}
|