Re: improve performance of pg_dump with many sequences - Mailing list pgsql-hackers

From Tom Lane
Subject Re: improve performance of pg_dump with many sequences
Date
Msg-id 3585715.1721243507@sss.pgh.pa.us
Whole thread Raw
In response to Re: improve performance of pg_dump with many sequences  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: improve performance of pg_dump with many sequences
List pgsql-hackers
Nathan Bossart <nathandbossart@gmail.com> writes:
> On Wed, Jul 17, 2024 at 02:59:26PM -0400, Tom Lane wrote:
>> Uh ... why do we need a function, rather than just
>> select * from pg_sequence

> We can use that for dumpSequence(), but dumpSequenceData() requires
> information from the sequence tuple itself.  Right now, we query each
> sequence relation individually for that data, and I'm trying to find a way
> to cut down on those round trips.

Ah, I confused FormData_pg_sequence_data with FormData_pg_sequence.
Sorry for the noise.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: improve performance of pg_dump with many sequences
Next
From: Alexander Korotkov
Date:
Subject: Re: POC, WIP: OR-clause support for indexes