--- ../../../../../tmp/kde-brenda/cervisiavOfRZa-database.pgsql.inc-BASE 2008-04-13 18:47:12.000000000 +1200 +++ includes/database.pgsql.inc 2008-04-13 18:47:03.000000000 +1200 @@ -418,10 +418,14 @@ * @return SQL query with the DISTINCT wrapper surrounding the given table.field. */ function db_distinct_field($table, $field, $query) { - $field_to_select = 'DISTINCT ON ('. $table .'.'. $field .") $table.$field"; - // (?