Re: [PATCH] Test coverage for pg_clear_attribute_stats() null arguments - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [PATCH] Test coverage for pg_clear_attribute_stats() null arguments
Date
Msg-id apfPaSLkXEDu6hk5@paquier.xyz
Whole thread
In response to Re: [PATCH] Test coverage for pg_clear_attribute_stats() null arguments  (shihao zhong <zhong950419@gmail.com>)
List pgsql-hackers
On Tue, Sep 01, 2026 at 09:32:02PM -0400, shihao zhong wrote:
> v2 attached.  On top of the four null arguments it covers a missing
> schema, relation and column, a system column, and a sequence and a view
> for the relkind rejection.

The cases lacked a bit of consistency in terms of input values,
ordering and the comments, so fixed a bit of all that..  And done.

> For inherited I used a functional case rather than an error one: plant an
> inherited and a non-inherited row for one column, clear the inherited
> one, and check that the other survives.

That does the job.  Thanks.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Xuneng Zhou
Date:
Subject: Re: timeout value overflow in wait for lsn
Next
From: Jan Nidzwetzki
Date:
Subject: Re: Many of psql's describe functions bloat cache / waste mem