Multiple --table options for other commands - Mailing list pgsql-hackers

From Josh Kupershmidt
Subject Multiple --table options for other commands
Date
Msg-id CAK3UJRG+yV1mK5twLfKVMCwXH4f6PnJou6Rn=ecabyfQH1vVHg@mail.gmail.com
Whole thread Raw
Responses Re: Multiple --table options for other commands
List pgsql-hackers
Hi all,

I see there's already a TODO for allowing pg_restore to accept
multiple --table arguments[1], but would folks support adding this
capability to various other commands which currently accept only a
single --table argument, such as clusterdb, vacuumdb, and reindexdb?

Looking at pg_dump, it seems like these other commands would want to
use the SimpleStringList / SimpleStringCell machinery which currently
lives only in pg_dump. I'm guessing that ./src/bin/pg_dump/dumputils.c
would be the right place for such common code?

Josh

[1] http://archives.postgresql.org/pgsql-hackers/2010-08/msg00689.php



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: foreign key locks
Next
From: Peter Geoghegan
Date:
Subject: Re: Logical to physical page mapping