Re: Thanks, naming conventions, and count()

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Hannu Krosing <hannu(at)tm(dot)ee>
Cc: The Hermit Hacker <scrappy(at)hub(dot)org>, Casey Lyon <casey(at)earthcars(dot)com>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Thanks, naming conventions, and count()
Date: 2001-05-02 14:56:54
Message-ID: 200105021456.f42EusS06387@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joel Burton 2001-05-02 15:01:47 Question re: TODO Item 'separate SERIAL type'
Previous Message Otto A. Hirr, Jr. 2001-05-02 14:32:18 CVSUP - Problems?