pgbench with partitioned tables

From: Sergey Tatarintsev <s(dot)tatarintsev(at)postgrespro(dot)ru>
To: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: pgbench with partitioned tables
Date: 2025-01-31 11:32:17
Message-ID: 97f55fca-8a7b-4da8-b413-7d1c57010676@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello, hackers!

When using manually created partitioned tables for pgbench, an error
occurred:
ERROR:  cannot perform COPY FREEZE on a partitioned table.

Currently only pgbench_accounts can be partitioned, all others must be a
regular tables.

I wrote a patch to disable WITH (FREEZE = ON) when generating data for
non-regular tables.

See attached patch

--
With best regards,
Sergey Tatarintsev

Attachment Content-Type Size
v1-0001-Fix-pgbench-client-side-data-generation-f.patch text/x-patch 2.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ashutosh Bapat 2025-01-31 11:36:54 Re: EvictUnpinnedBuffer and buffer free list
Previous Message Dmitry Koterov 2025-01-31 11:30:35 hash_search_with_hash_value is high in "perf top" on a replica