Hi,
Quoting Saint Germain <[email protected]>:
It seems that Mr Koeb has more or less managed to install it and use it:
http://mail.kde.org/pipermail/owncloud/2011-December/001903.html
Not just more or less. It actually works :-)
Mr Koeb can you confirm that you have managed to use owncloud with
PostgreSQL ?
I have set up ownCloud about half a year ago and did not have the time
to update it to the current version, so I doubt that my approach is
still working. Back then I made some small changes to lib/setup.php
which I attached for reference. But you won't be able to apply this
patch to git master as lib/setup.php has changed in the meantime.
Regards,
Daniel
diff --git a/lib/setup.php b/lib/setup.php
index b53c626..8a451ba 100644
--- a/lib/setup.php
+++ b/lib/setup.php
@@ -180,11 +180,11 @@ class OC_Setup {
}
//fill the database if needed
- $query = "SELECT relname FROM pg_class WHERE relname='{$dbtableprefix}users' limit 1";
- $result = pg_query($connection, $query);
- if(!$result) {
+ //$query = "SELECT relname FROM pg_class WHERE relname='{$dbtableprefix}users' limit 1";
+ //$result = pg_query($connection, $query);
+ //if(!$result) {
OC_DB::createDbFromStructure('db_structure.xml');
- }
+ //}
pg_close($connection);
}
}
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud