On Thu, 2025-03-06 at 12:16 -0500, Andres Freund wrote: > I don't follow. We already have the tablenames, schemanames and oids > of the > to-be-dumped tables/indexes collected in pg_dump, all that's needed > is to send > a list of those to the server to filter there?
Would it be appropriate to create a temp table? I wouldn't normally expect pg_dump to create temp tables, but I can't think of a major reason not to. If not, did you have in mind a CTE with a large VALUES expression, or just a giant IN() list? Regards, Jeff Davis