Re: pgsql: Create functions pg_set_relation_stats, pg_clear_relation_stats.

From: Alexander Korotkov <aekorotkov(at)gmail(dot)com>
To: Jeff Davis <jdavis(at)postgresql(dot)org>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Create functions pg_set_relation_stats, pg_clear_relation_stats.
Date: 2024-10-14 23:00:13
Message-ID: CAPpHfduAiGSsvUc614Z-JOnyQffcMeJncWMF2HnUL8wFy4fuWA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Sun, Oct 13, 2024 at 6:21 PM Jeff Davis <jdavis(at)postgresql(dot)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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Masahiko Sawada 2024-10-15 00:20:46 pgsql: Move SnapBuild and SnapBuildOnDisk structs to snapshot_internal.
Previous Message Tom Lane 2024-10-14 20:14:03 pgsql: ecpg: invent a saner syntax for ecpg.addons entries.