pg_stat_statements: improve loading and saving routines for the dump file

From: m(dot)litsarev(at)postgrespro(dot)ru
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: pg_stat_statements: improve loading and saving routines for the dump file
Date: 2025-01-20 13:49:45
Message-ID: 192f7185defa370d083e3a237727b066@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi!

Currently in pg_stat_statements save/load routines the whole pgssEntry
entity data are written/read with its last field
slock_t mutex;
which is actually not used then.
This small patch fixes this issue. Hope, it will be useful.

Respectfully,

Mikhail Litsarev,
Postgres Professional: https://postgrespro.com

Attachment Content-Type Size
v1-0001-Exclude-pgssEntry-mutex-for-rw-dump-file.patch text/x-diff 2.3 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2025-01-20 14:01:08 Re: some Page/PageData const stuff
Previous Message Maiquel Grassi 2025-01-20 13:34:22 Re: Psql meta-command conninfo+