Fix links to docs for pgsql 13 & 14
authorRobert Treat <rob@xzilla.net>
Thu, 8 Oct 2020 05:39:43 +0000 (01:39 -0400)
committerRobert Treat <xzilla@users.noreply.github.com>
Fri, 9 Oct 2020 04:03:46 +0000 (00:03 -0400)
For version 14, we point to the /devel/ docs, since that version is currently
in dev. I also bumped the fall through to point to v14, arguably we could
instead point to /current/, but any current version will work, so I think
devel is more likely.

classes/database/Postgres.php
help/PostgresDoc13.php [new file with mode: 0644]
help/PostgresDoc14.php [new file with mode: 0644]

index 6fab3bd7382e746be99848526b53b4330eaac8b7..bfd04a872806fc0d447fdb55825fa5687ac2ea6b 100644 (file)
@@ -419,7 +419,7 @@ class Postgres extends ADODB_base {
        }
 
        function getHelpPages() {
-               include_once('./help/PostgresDoc95.php');
+               include_once('./help/PostgresDoc14.php');
                return $this->help_page;
        }
 
diff --git a/help/PostgresDoc13.php b/help/PostgresDoc13.php
new file mode 100644 (file)
index 0000000..b261087
--- /dev/null
@@ -0,0 +1,13 @@
+<?php
+
+/**
+ * Help links for PostgreSQL 9.5 documentation
+ *
+ * $Id: PostgresDoc84.php,v 1.3 2008/11/18 21:35:48 ioguix Exp $
+ */
+
+include('./help/PostgresDoc12.php');
+
+$this->help_base = sprintf($GLOBALS['conf']['help_base'], '13');
+
+?>
diff --git a/help/PostgresDoc14.php b/help/PostgresDoc14.php
new file mode 100644 (file)
index 0000000..2fe76f5
--- /dev/null
@@ -0,0 +1,13 @@
+<?php
+
+/**
+ * Help links for PostgreSQL 9.5 documentation
+ *
+ * $Id: PostgresDoc84.php,v 1.3 2008/11/18 21:35:48 ioguix Exp $
+ */
+
+include('./help/PostgresDoc13.php');
+
+$this->help_base = sprintf($GLOBALS['conf']['help_base'], 'devel');
+
+?>