Re: pg_dump exclusion switches and functions/types

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: pg_dump exclusion switches and functions/types
Дата
Msg-id 200610071421.12194.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: pg_dump exclusion switches and functions/types  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Man pages
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump exclusion switches and functions/types