Re: Help with a plpgsql function

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Roberto Andrade Fonseca <randrade(at)abl(dot)com(dot)mx>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Help with a plpgsql function
Date: 2002-02-21 22:28:11
Message-ID: 20020221142731.C23226-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


> REVOKE ALL ON my_record.table FROM my_user;

I'd guess you'd need to use EXECUTE here, maybe
EXECUTE ''REVOKE ALL ON '' || my_record.table ||
'' FROM my_user'';

In response to

Browse pgsql-general by date

  From Date Subject
Next Message GoodleafJ 2002-02-21 22:29:14 Re: ANY GOOD USER'S GUIDE ONLINE?? (with simple examples)
Previous Message Doug McNaught 2002-02-21 22:27:44 Re: OID - insert statement