On Feb 17, 2007, at 12:12 PM, John D. Burger wrote:
A better approach is to write a plpgsql function that assembles and EXECUTEs the required GRANT commands.Okay, thanks - guess it's time to learn some real plpgsql control structures.
You can find some help here: http://pgedit.com/tip/postgresql/access_control_functions John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL