pg_dumpall --accounts-only - Mailing list pgsql-hackers

From Peter Eisentraut
Subject pg_dumpall --accounts-only
Date
Msg-id Pine.LNX.4.30.0012171915450.759-100000@peter.localdomain
Whole thread Raw
Responses Re: pg_dumpall --accounts-only
List pgsql-hackers
I've been sneaking a peek at the Great Bridge documentation regarding the
pg_dumpaccounts utility.  You may recall that I added the pg_dumpall
--accounts-only option to provide the same functionality.  But it occurred
to me that the name is wrong.

The way it reads in the GB docs is that pg_dumpaccounts will dump the
global structures, whereas pg_dump dumps the local structures, and
pg_dumpall is sort of a wrapper that does both.  (Not a bad idea really;
if they would have discussed it we might even have known about it.)

But equating "accounts" and "global" is wrong (leaving aside the fact that
there's no such thing as an "account" is SQL or Postgres).  If/when table
spaces are implemented, a table space would probably be a global object.
If/when roles are implemented, then groups will cease to be a global
object.

To make a long story short, a more correct name for this option would be
"--globals-only".  Is it okay to change this?

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: More Tuple Madness
Next
From: "Michael Richards"
Date:
Subject: Re: More Tuple Madness