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 2202680.1767902093@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:
> Hm.  That makes sense, but both try_table_open and try_index_open error for
> wrong relkinds.  I could change all of the try_*_open functions to return
> NULL in that case, or I could just open-code the relkind check in
> pg_get_sequence_data after try_relation_open (and have it return NULL for
> non-sequences).  I'm leaning towards the latter, if for no other reason
> than it might be slightly nicer for back-patching (e.g., smaller, no new
> extern functions).

WFM.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: pg_plan_advice
Next
From: Heikki Linnakangas
Date:
Subject: Wake up autovacuum launcher from postmaster when a worker exits