Re: Thanks, naming conventions, and count() - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Thanks, naming conventions, and count()
Date
Msg-id 200105021456.f42EusS06387@candle.pha.pa.us
Whole thread Raw
In response to Thanks, naming conventions, and count()  (Casey Lyon <casey@earthcars.com>)
List pgsql-hackers
> > Yes, I like that idea, but the problem is that it is hard to update just
> > one table in the file.
> 
> why not have just one ever-growing file that is only appended to and
> that has 
> lines of form 
> 
> OID, type (DB/TABLE/INDEX/...), name, time
> 
> so when you need tha actual info you grep for name and use tha last line
> whose 
> file actually exists. Not too convenient but useful enough when you
> really need it.

Yes, that is one idea, but it is hard to undo a change.  You would have
to write to the file only on a commit.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: New Linux xfs/reiser file systems
Next
From: Hannu Krosing
Date:
Subject: Re: Thanks, naming conventions, and count()