Repetition of warning message while REVOKE

From: Piyush Newe <piyush(dot)newe(at)enterprisedb(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Repetition of warning message while REVOKE
Date: 2010-03-04 09:08:00
Message-ID: 3b3d33c91003040108p45d5bf2er47e768878eaa160c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Description:
===========
Repetition of warning message with revoke.

How to reproduce :
==================

> create table tbl(col int);
> create user usr;
> grant select on tbl to usr;
> \c postgres usr;
> REVOKE SELECT on tbl from usr;

Actual output:
================
WARNING: no privileges could be revoked for "tbl"
WARNING: no privileges could be revoked for "tbl"
WARNING: no privileges could be revoked for "tbl"
WARNING: no privileges could be revoked for "tbl"
WARNING: no privileges could be revoked for "tbl"
WARNING: no privileges could be revoked for "tbl"
WARNING: no privileges could be revoked for "tbl"
WARNING: no privileges could be revoked for "tbl"
REVOKE

expected output:
===============
Shouldn't print repetitive warnings.

--
Piyush S Newe
Principal Engineer
EnterpriseDB
office: +91 20 3058 9500
www.enterprisedb.com

Website: www.enterprisedb.com
EnterpriseDB Blog: http://blogs.enterprisedb.com/
Follow us on Twitter: http://www.twitter.com/enterprisedb

This e-mail message (and any attachment) is intended for the use of the
individual or entity to whom it is addressed. This message contains
information from EnterpriseDB Corporation that may be privileged,
confidential, or exempt from disclosure under applicable law. If you are not
the intended recipient or authorized to receive this for the intended
recipient, any use, dissemination, distribution, retention, archiving, or
copying of this communication is strictly prohibited. If you have received
this e-mail in error, please notify the sender immediately by reply e-mail
and delete this message.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message fanng yuan 2010-03-04 09:36:55 arithmetic about inet
Previous Message Tom Lane 2010-03-04 04:49:57 Upcoming back-branch releases