Add PostgreSQL
This commit is contained in:
parent
89f54f9f35
commit
b904b95005
1 changed files with 14 additions and 0 deletions
14
modules/PostgreSQL.php
Normal file
14
modules/PostgreSQL.php
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
class PostgreSQL extends PatchBase {
|
||||||
|
function __construct() {
|
||||||
|
parent::__construct('PostgreSQL Global Development Group', 'PostgreSQL', 'https://www.postgresql.org/download/');
|
||||||
|
}
|
||||||
|
function check() : bool {
|
||||||
|
if ($this->fetch('https://www.postgresql.org/ftp/latest/', false))
|
||||||
|
return $this->parse('/\/ftp\/source\/v([\d\.]+)/');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue