[Greater-commits] r202 - trunk/GREAT-ER-DB/trunk/impl/postgresql
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Jun 14 18:22:33 CEST 2011
Author: aheinecke
Date: 2011-06-14 18:22:32 +0200 (Tue, 14 Jun 2011)
New Revision: 202
Modified:
trunk/GREAT-ER-DB/trunk/impl/postgresql/gdagreater_pg.pgc
Log:
gda_db_connect_admin: Use lowercase userid for admin check
Modified: trunk/GREAT-ER-DB/trunk/impl/postgresql/gdagreater_pg.pgc
===================================================================
--- trunk/GREAT-ER-DB/trunk/impl/postgresql/gdagreater_pg.pgc 2011-06-14 16:12:30 UTC (rev 201)
+++ trunk/GREAT-ER-DB/trunk/impl/postgresql/gdagreater_pg.pgc 2011-06-14 16:22:32 UTC (rev 202)
@@ -4159,7 +4159,7 @@
FROM pg_class c LEFT JOIN pg_user u ON c.relowner = u.usesysid
where c.relkind IN ('r','')
AND c.relname !~ '^pg_'
- AND u.usename = :h_user_id
+ AND u.usename = LOWER(:h_user_id)
AND c.relname = 'catch_tab';
if (NULL)
More information about the Greater-commits
mailing list