Re: pg_dump exclusion switches and functions/types

Josh Berkus <josh@agliodbs.com>

From: Josh Berkus <josh@agliodbs.com>
To: pgsql-hackers@postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Gregory Stark <stark@enterprisedb.com>, Kris Jurka <books@ejurka.com>
Date: 2006-10-07T21:21:12Z
Lists: pgsql-hackers
Tom,

> I kinda like that, because it makes the behavior completely independent
> of switch ordering, which seems like a good property to preserve.
> Anyone else have an opinion pro or con?

The only "con" argument I can think of is that "tar" and "rsync", whose syntax 
is familiar to a lot of sysadmins, apply switches left-to-right.  

However, I don't feel that that is a compelling argument.  The include/exclude 
switch order processing is something I've always *hated* about tar and has 
messed me up more times than I can count.  Also, Windows users could care 
less if we behave like tar.

So +1 to go with orderless switching.

-- 
Josh Berkus
PostgreSQL @ Sun
San Francisco