With Peter's latest commit, there aren't any actual scripts left in
src/bin/scripts; only C programs.  Does that bother anyone?  I was
wondering about renaming to something like src/bin/misc.  (Not that
that name seems very compelling either...)

			regards, tom lane

Wed, 18 Jun 2003 13:02:08 -0400
Tom Lane <tgl@sss.pgh.pa.us>
src/bin/scripts seems a bit of a misnomer now
Tom Lane wrote:
> With Peter's latest commit, there aren't any actual scripts left in
> src/bin/scripts; only C programs.  Does that bother anyone?  I was
> wondering about renaming to something like src/bin/misc.  (Not that
> that name seems very compelling either...)


We could call it tools or admintools.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Wed, 18 Jun 2003 13:07:11 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: src/bin/scripts seems a bit of a misnomer now
On Wed, 2003-06-18 at 17:07, Bruce Momjian wrote:
> Tom Lane wrote:
> > With Peter's latest commit, there aren't any actual scripts left in
> > src/bin/scripts; only C programs.  Does that bother anyone?  I was
> > wondering about renaming to something like src/bin/misc.  (Not that
> > that name seems very compelling either...)
> 
> We could call it tools or admintools.

How about just pulling them up a directory into src/bin?

If they were complex, each would have a subdirectory in src/bin, so it
seems reasonable to have individual files there.
-- 
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/rbtpub.asc
18 Jun 2003 17:47:59 +0000
Rod Taylor <rbt@rbt.ca>
Re: src/bin/scripts seems a bit of a misnomer now
Rod Taylor <rbt@rbt.ca> writes:
> How about just pulling them up a directory into src/bin?

Nah, I don't like that.  All the programs are at the same level in the
src/bin tree, and I think it should stay that way.

Bruce's idea of calling it "tools" seems reasonable ... although there
might be some confusion because we also have a src/tools directory.
"admintools" seems a bit long to me, although I'd go along if other
people like it.  Maybe just "admin"?

			regards, tom lane

Wed, 18 Jun 2003 16:53:13 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: src/bin/scripts seems a bit of a misnomer now 
> With Peter's latest commit, there aren't any actual scripts left in
> src/bin/scripts; only C programs.  Does that bother anyone?  I was
> wondering about renaming to something like src/bin/misc.  (Not that
> that name seems very compelling either...)

Does anyone care about contrib/reindexdb anymore?

Chris


Thu, 19 Jun 2003 09:24:19 +0800
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au>
Re: src/bin/scripts seems a bit of a misnomer now
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> Does anyone care about contrib/reindexdb anymore?

I'd think it's still at least as useful as clusterdb.  Why, are you
thinking of doing some work on it?

			regards, tom lane

Wed, 18 Jun 2003 22:48:58 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: src/bin/scripts seems a bit of a misnomer now 
On Thu, 19 Jun 2003, Christopher Kings-Lynne wrote:

> Does anyone care about contrib/reindexdb anymore?

I would've found it handy, but didn't know about it and wrote my own in
Perl. Inside a transaction it drops the index then rebuilds it using what
it gets from pg_get_indexdef(), and it looks at the index files on disk
before and after to show disk space saved (or grown) per index and total.  
I run it weekly in cron.

Is something like that of use to anyone else?

Jon

Thu, 19 Jun 2003 16:09:31 +0000 (UTC)
Jon Jensen <jon@endpoint.com>
Re: src/bin/scripts seems a bit of a misnomer now
> "Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> > Does anyone care about contrib/reindexdb anymore?
> 
> I'd think it's still at least as useful as clusterdb.  Why, are you
> thinking of doing some work on it?

No, I just noticed that it escaped the C conversion...

Chris


Fri, 20 Jun 2003 09:23:13 +0800
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au>
Re: src/bin/scripts seems a bit of a misnomer now 
On Thu, 2003-06-19 at 12:09, Jon Jensen wrote:
> On Thu, 19 Jun 2003, Christopher Kings-Lynne wrote:
> 
> > Does anyone care about contrib/reindexdb anymore?
> 
> I would've found it handy, but didn't know about it and wrote my own in
> Perl. Inside a transaction it drops the index then rebuilds it using what
> it gets from pg_get_indexdef(), and it looks at the index files on disk
> before and after to show disk space saved (or grown) per index and total.  
> I run it weekly in cron.
> 
> Is something like that of use to anyone else?
> 

I think something like this was either posted to the list, put on gborg,
or maybe hidden in contrib somewhere. I'd like a copy if you don't mind,
I currently use reindex regularly on my database but your script sounds
a little more informational.

Robert Treat 
-- 
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL


20 Jun 2003 14:09:22 -0400
Robert Treat <xzilla@users.sourceforge.net>
Re: src/bin/scripts seems a bit of a misnomer now

Added to TODO:

* Rename /scripts directory because they are all C programs now


---------------------------------------------------------------------------

Tom Lane wrote:
> Rod Taylor <rbt@rbt.ca> writes:
> > How about just pulling them up a directory into src/bin?
> 
> Nah, I don't like that.  All the programs are at the same level in the
> src/bin tree, and I think it should stay that way.
> 
> Bruce's idea of calling it "tools" seems reasonable ... although there
> might be some confusion because we also have a src/tools directory.
> "admintools" seems a bit long to me, although I'd go along if other
> people like it.  Maybe just "admin"?
> 
> 			regards, tom lane
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Mon, 23 Jun 2003 22:54:19 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: src/bin/scripts seems a bit of a misnomer now