I'm converting some mySQL code to pgSQL and I've run into this problem
mysql code : "KEY ug_main_grp_id (ug_main_grp_id)"
What would be the equivalent in PgSQL. First I thought I could just use CREATE INDEX in pgSQL, but that's really not appropriate because KEY is not an index :P