Re: Notices for redundant operations

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
Cc: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Notices for redundant operations
Date: 2003-09-07 16:36:47
Message-ID: Pine.LNX.4.44.0309071832350.1172-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Robert Treat writes:

> Hmm... the counter state seems to be that now these commands would tell you
> they are doing something even though they are arn't really doing anything:

Commands are defined in terms of their results, not in terms of their
actions, and certainly not in terms of the amount of grinding that is
caused by them.

Have you ever realized that

GRANT SELECT ON table1 TO person;

might not do anything? No one has suggested notices for that. Or have
you ever seen a notice issued as the result of

chmod a+x filename

when the file was already executable?

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mendola Gaetano 2003-09-07 16:54:23 mcxt.c
Previous Message Bruce Momjian 2003-09-07 16:25:12 Re: [HACKERS] Index creation takes for ever