pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <aekorotkov@gmail.com>
To: Jeff Davis <jdavis@postgresql.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Create functions pg_set_relation_stats, pg_clear_relation_stats.
Date: Tue, 15 Oct 2024 02:00:13 +0300
Message-ID: <CAPpHfduAiGSsvUc614Z-JOnyQffcMeJncWMF2HnUL8wFy4fuWA@mail.gmail.com> (raw)
In-Reply-To: <E1szPVO-000NMT-OQ@gemulon.postgresql.org>
References: <E1szPVO-000NMT-OQ@gemulon.postgresql.org>

On Sun, Oct 13, 2024 at 6:21 PM Jeff Davis <jdavis@postgresql.org> wrote:
> Create functions pg_set_relation_stats, pg_clear_relation_stats.
>
> These functions are used to tweak statistics on any relation, provided
> that the user has MAINTAIN privilege on the relation, or is the database
> owner.

+#include "utils/array.h"
+#include "utils/builtins.h"
+#include "utils/acl.h"
+#include "utils/rel.h"

Please, check the alphabetical order of includes in stat_utils.c.

------
Regards,
Alexander Korotkov
Supabase





view thread (3+ messages)  latest in thread

Message-ID: <CAPpHfduAiGSsvUc614Z-JOnyQffcMeJncWMF2HnUL8wFy4fuWA@mail.gmail.com>
Permalink:  ../CAPpHfduAiGSsvUc614Z-JOnyQffcMeJncWMF2HnUL8wFy4fuWA@mail.gmail.com/
Also on:    postgresql.org/message-id/CAPpHfduAiGSsvUc614Z-JOnyQffcMeJncWMF2HnUL8wFy4fuWA@mail.gmail.com

 · 

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-committers@postgresql.org
  Cc: aekorotkov@gmail.com, jdavis@postgresql.org
  Subject: Re: pgsql: Create functions pg_set_relation_stats, pg_clear_relation_stats.
  In-Reply-To: <CAPpHfduAiGSsvUc614Z-JOnyQffcMeJncWMF2HnUL8wFy4fuWA@mail.gmail.com>
  References: <E1szPVO-000NMT-OQ@gemulon.postgresql.org> <CAPpHfduAiGSsvUc614Z-JOnyQffcMeJncWMF2HnUL8wFy4fuWA@mail.gmail.com>

* 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