pg_restore multiple --function options

Heikki Linnakangas <hlinnakangas@vmware.com>

From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Josh Kupershmidt <schmiddy@gmail.com>, Magnus Hagander <magnus@hagander.net>
Cc: PostgreSQL-development <pgsql-hackers@postgreSQL.org>
Date: 2013-08-26T19:29:06Z
Lists: pgsql-hackers
Hi,

While looking at the pg_restore code, I noticed that while it supports 
specifying multiple --table options to restore several tables, it does 
not support multiple --function options. Or --index, --schema, or --trigger.

The support for multiple --table options was added in 9.3, in January. 
See 
http://www.postgresql.org/message-id/CAK3UJRG+yV1mK5twLfKVMCwXH4f6PnJou6Rn=ecabyfQH1vVHg@mail.gmail.com. 
Was there a particular reason for only doing it for --table, or was it 
just an oversight or lack of interest? No doubt that --table is the most 
interesting one, but IMHO the other options should behave the same, for 
the sake of consistency.

- Heikki