diff options
author | Bernard Spil <brnrd@FreeBSD.org> | 2018-02-20 09:14:21 +0000 |
---|---|---|
committer | Bernard Spil <brnrd@FreeBSD.org> | 2018-02-20 09:14:21 +0000 |
commit | 118fcfc52761bf4b8bcafb556a98fefc4fa1da8b (patch) | |
tree | 3b4518101609f02d86b705202f92574152d88359 /www/nextcloud/files | |
parent | a784d390472616d6a9e7804d6d543e6c353c7b39 (diff) | |
download | ports-118fcfc52761bf4b8bcafb556a98fefc4fa1da8b.tar.gz ports-118fcfc52761bf4b8bcafb556a98fefc4fa1da8b.zip |
www/nextcloud: Update to 13.0.0
- Changes permissions as well
PR: 223778
Approved by: Loic Blot <loic.blot unixexperience fr> maintainer)
Notes
Notes:
svn path=/head/; revision=462379
Diffstat (limited to 'www/nextcloud/files')
-rw-r--r-- | www/nextcloud/files/extra-patch-PostgreSQL-10 | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/www/nextcloud/files/extra-patch-PostgreSQL-10 b/www/nextcloud/files/extra-patch-PostgreSQL-10 deleted file mode 100644 index 1f134d3726fb..000000000000 --- a/www/nextcloud/files/extra-patch-PostgreSQL-10 +++ /dev/null @@ -1,20 +0,0 @@ ---- 3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php.orig 2017-11-27 09:11:23 UTC -+++ 3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php -@@ -289,7 +289,16 @@ class PostgreSqlSchemaManager extends Ab - $sequenceName = $sequence['relname']; - } - -- $data = $this->_conn->fetchAll('SELECT min_value, increment_by FROM ' . $this->_platform->quoteIdentifier($sequenceName)); -+ $version = floatval($this->_conn->getWrappedConnection()->getServerVersion()); -+ -+ if ($version >= 10) { -+ $data = $this->_conn->fetchAll('SELECT min_value, increment_by FROM pg_sequences WHERE schemaname = \'public\' AND sequencename = '.$this->_conn->quote($sequenceName)); -+ } -+ else -+ { -+ $data = $this->_conn->fetchAll('SELECT min_value, increment_by FROM ' . $this->_platform->quoteIdentifier($sequenceName)); -+ } -+// $data = $this->_conn->fetchAll('SELECT min_value, increment_by FROM ' . $this->_platform->quoteIdentifier($sequenceName)); - - return new Sequence($sequenceName, $data[0]['increment_by'], $data[0]['min_value']); - } |