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

From Alfred Perlstein
Subject Re: Thanks, naming conventions, and count()
Date
Msg-id 20010429201728.M18676@fw.wintelcom.net
Whole thread Raw
In response to Re: Thanks, naming conventions, and count()  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Thanks, naming conventions, and count()  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Thanks, naming conventions, and count()  (Michael Samuel <michael@miknet.net>)
List pgsql-hackers
* Bruce Momjian <pgman@candle.pha.pa.us> [010429 20:14] wrote:

> Yes, I like that idea, but the problem is that it is hard to update just
> one table in the file.  You sort of have to update the entire file each
> time a table changes.  That is why I liked symlinks because they are
> per-table, but you are right that the symlink creation could fail
> because the new table file was never created or something, leaving the
> symlink pointing to nothing.  Not sure how to address this.  Is there a
> way to update a flat file when a single table changes?

Sort of, if that flat file is in the form of:
123456;"tablename                   "
000033;"another_table               "

ie, each line is a fixed length.


-- 
-Alfred Perlstein - [alfred@freebsd.org]
Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Thanks, naming conventions, and count()
Next
From: Bruce Momjian
Date:
Subject: Re: Thanks, naming conventions, and count()