[PATCH] allow has_table_privilege(..., 'usage') on sequences

From: Abhijit Menon-Sen <ams(at)oryx(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: [PATCH] allow has_table_privilege(..., 'usage') on sequences
Date: 2008-08-07 08:08:03
Message-ID: 20080807080803.GA18573@toroid.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I just noticed, to my dismay, that has_table_privilege() does not allow
me to check for usage privileges on sequences. I suspect this may have
been an oversight. If so, the attached patch fixes it for me.

-- ams

Attachment Content-Type Size
usage.diff text/x-diff 627 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas OSB sIT 2008-08-07 08:10:22 Re: Patch: plan invalidation vs stored procedures
Previous Message Tom Lane 2008-08-07 04:04:39 Re: Patch: plan invalidation vs stored procedures