Re: [PATCH] Test coverage for pg_clear_attribute_stats() null arguments

From: shihao zhong <zhong950419(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Test coverage for pg_clear_attribute_stats() null arguments
Date: 2026-09-02 01:32:02
Message-ID: CAGRkXqTY-U69gWOnw_bS_juomkZmwf8n7nYbO3r1dGnQcdeLxA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Could you expand the patch to do more of this stuff, please?

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.

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.

Thanks,
Shihao

Attachment Content-Type Size
v2-0001-Add-test-coverage-for-pg_clear_attribute_stats-er.patch application/octet-stream 9.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Xuneng Zhou 2026-09-02 01:40:16 Re: timeout value overflow in wait for lsn
Previous Message Ayoub Kazar 2026-09-02 01:31:48 Re: Add pg_stat_vfdcache view for VFD cache statistics