Обсуждение: all groups a user belongs to

Поиск
Список
Период
Сортировка

all groups a user belongs to

От
clemens schmuck
Дата:
hello,
how can i determine all groups a user belungs to in a plpgsql procedure? or 
can this even be done in a simple sql statement?

thanks for all suggestions
clemens



Unique ID of connection

От
Trurl McByte
Дата:
Hi all!

Very usefull sample:
CREATE FUNCTION getpid () returns int4 as '/lib/libc.so.6' LANGUAGE 'C';SELECT getpid();

;))


P.S. Only for Linux!
--      Trurl McByte, Capt. of StasisCruiser "Prince"
|InterNIC: AR3200                   RIPE: AR1627-RIPE|
|--98 C3 78 8E 90 E3 01 35  87 1F 3F EF FD 6D 84 B3--|