diff artifact-database/src/main/resources/sql/org-postgresql-driver.properties @ 173:940ed629419f

Solve the SQL problem with the collection listings. artifacts/trunk@1399 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 04 Mar 2011 14:06:56 +0000
parents ac0f8bd97277
children 16e6e661e6bf
line wrap: on
line diff
--- a/artifact-database/src/main/resources/sql/org-postgresql-driver.properties	Fri Mar 04 11:47:27 2011 +0000
+++ b/artifact-database/src/main/resources/sql/org-postgresql-driver.properties	Fri Mar 04 14:06:56 2011 +0000
@@ -53,12 +53,12 @@
 
 collections.select.user= \
     SELECT c.gid, c.name, c.creation, u.gid FROM \
-    collections c OUTER LEFT JOIN users u ON c.owner_id = u.id \
+    collections c LEFT OUTER JOIN users u ON c.owner_id = u.id \
     WHERE u.gid = ?::uuid
 
 collections.select.all= \
     SELECT c.gid, c.name, c.creation, u.gid FROM \
-    collections c OUTER LEFT JOIN users u ON c.owner_id = u.id
+    collections c LEFT OUTER JOIN users u ON c.owner_id = u.id
 
 users.collections=SELECT collection_id, gid, name FROM collections WHERE owner_id = ?
 users.collection.ids=SELECT collection_id FROM collections WHERE owner_id = ?

http://dive4elements.wald.intevation.org