pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Jim Nasby <Jim.Nasby@bluetreble.com>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: statistics for shared catalogs not updated when autovacuum is off
Date: Wed, 25 May 2016 15:59:01 -0400
Message-ID: <7989.1464206341@sss.pgh.pa.us> (raw)
In-Reply-To: <CAB7nPqRY4udJSGz1g-iAfpo6qFcPimBabs5TFnTg0_6bGS+54w@mail.gmail.com>
References: <56AD41AC.1030509@gmx.net>
	<56AF7093.7070804@BlueTreble.com>
	<56B0044C.1030001@gmx.net>
	<56B00898.4010409@BlueTreble.com>
	<CAB7nPqR+0EqQEcZBsT7reaFqVYe7D+=SYfxroTSv_ujWXU2QVA@mail.gmail.com>
	<20040.1464130339@sss.pgh.pa.us>
	<CAB7nPqRY4udJSGz1g-iAfpo6qFcPimBabs5TFnTg0_6bGS+54w@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Michael Paquier <michael.paquier@gmail.com> writes:
> On Tue, May 24, 2016 at 3:52 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> True, although I'm not sure if adding a dependency on IsSharedRelation()
>> here is a good thing.  In any case, you took the dependency too far ...

> OK. It seemed more simple to me to have the dependency on catalog.h to
> avoid two lookups. But I won't fight for it either.

Well, it might be worth doing, but I think it's a distinct patch.

> I am going to look at the second patch you sent.

OK.  I'm going to work on replacing the DBWriteRequest structure with
an OID list, and on improving the comments some more, but I don't
anticipate further functional changes.

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (12+ messages)  latest in thread

Message-ID: <7989.1464206341@sss.pgh.pa.us>
Permalink:  ../7989.1464206341@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7989.1464206341@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, michael.paquier@gmail.com, Jim.Nasby@bluetreble.com, peter_e@gmx.net
  Subject: Re: statistics for shared catalogs not updated when autovacuum is off
  In-Reply-To: <7989.1464206341@sss.pgh.pa.us>
  References: <56AD41AC.1030509@gmx.net> <56AF7093.7070804@BlueTreble.com> <56B0044C.1030001@gmx.net> <56B00898.4010409@BlueTreble.com> <CAB7nPqR+0EqQEcZBsT7reaFqVYe7D+=SYfxroTSv_ujWXU2QVA@mail.gmail.com> <20040.1464130339@sss.pgh.pa.us> <CAB7nPqRY4udJSGz1g-iAfpo6qFcPimBabs5TFnTg0_6bGS+54w@mail.gmail.com> <7989.1464206341@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox