From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Noah Misch <noah(at)leadboat(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Removal of AcceptInvalidationMessages broke things |
Date: | 2012-09-19 18:53:01 |
Message-ID: | CA+TgmoZzCZNozCzg1n2kQJa8zMu8XL4OfGsTKHqz2PyB2J=qXQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Sep 19, 2012 at 2:17 PM, Noah Misch <noah(at)leadboat(dot)com> wrote:
> Sounds fine for now. I suspect the better change would be to make
> AcceptInvalidationMessages() unconditional in LockRelationOid() and friends.
> There's no reason to desire recent ACLs only when opening by name.
I agree, on both counts. I think I failed to realize when doing that
refactoring that I was reducing the number of cases where
AcceptInvalidationMessages() would actually be called. AFAICS, the
only reason why we have such complicated rules for calling that
function is that it's traditionally been expensive. But that should
be much less true due now due to improvements in 9.2 (cf commit
b4fbe392f8ff6ff1a66b488eb7197eef9e1770a4). So we can probably afford
to be a little less byzantine about the way we do this now.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2012-09-19 18:58:42 | Re: Invalid optimization of VOLATILE function in WHERE clause? |
Previous Message | Tom Lane | 2012-09-19 18:25:05 | Re: Removal of AcceptInvalidationMessages broke things |