> And, let's face it: for a *production* system, when would you *ever*
> want the data and the logs on the same physical disk (or even on the
> same RAID channel)? Maybe I'm being overly optimistic on behalf of
> the optimizations that PostgrSQL performs here.....but if so, think
> future-proof :-)
In fact, the entire WAL mechanism should have a more flexible logger.
It should be able to log strings to a file anywhere on the FS, and it
should be able to log to another database in fact. Where is the WAL
code? I might look into doing this.