update_tables_0.2.x-0.3.pgsql
author Pascal Volk <neverseen@users.sourceforge.net>
Mon, 03 Mar 2008 23:48:07 +0000
changeset 12 44161dbb1518
parent 0 bb0aa2102206
permissions -rw-r--r--
* 'VirtualMailManager/Alias.py' * 'VirtualMailManager/VirtualMailManager.py' * 'vmm' - added support for deleting only the alias with the matching destination address

-- $Id$

DROP VIEW ma_aliases_count;
CREATE OR REPLACE VIEW vmm_alias_count AS
    SELECT count(DISTINCT address) AS aliases, gid
      FROM alias
  GROUP BY gid;