From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Jan Wieck <JanWieck(at)Yahoo(dot)com> |
Cc: | "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>, Dave Page <dpage(at)vale-housing(dot)co(dot)uk>, Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, shridhar_daithankar(at)persistent(dot)co(dot)in, Pgsql-hackers(at)postgresql(dot)org, Pgsql-general(at)postgresql(dot)org |
Subject: | Re: [HACKERS] PGXLOG variable worthwhile? |
Date: | 2002-09-18 04:57:09 |
Message-ID: | 200209180457.g8I4v9M29138@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
Jan Wieck wrote:
> "Nigel J. Andrews" wrote:
> > However, how is that going to work if tablespaces are introduced in 7.4. Surely
> > the same mechanism for tablespaces would be used for pg_xlog. As the tablespace
> > mechanism hasn't been determined yet, as far as I know, wouldn't it be best to
> > see what happens there before creating the TODO item for the log?
>
> No, tablespaces would have to be something DB specific, while the Xlog
> is instance wide (instance == one postmaster == installation == whatever
> you name that level).
>
> My vision is that we start off with two tablespaces per database,
> "default" and "default_idx", which are subdirectories inside the
> database directory. All (non-index-)objects created without explicitly
> saying what tablespace they belong to automatically belong to default.
> Indexes ... bla.
>
> The tablespace catalog will have a column telling the physical location
> of that directory. Moving it around will not be *that* easy, I guess,
> because the UPDATE of that entry has to go hand in hand with the move of
> all files in that damned directory. But that's another thing to sort out
> later, IMHO.
Yes, the nifty trick was to use a lstat() from pg_dump to learn if it is a
symlink and if so, where it points to.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Karel Zak | 2002-09-18 08:14:17 | Re: to_number function questions |
Previous Message | Jan Wieck | 2002-09-18 04:52:58 | Re: [HACKERS] PGXLOG variable worthwhile? |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-09-18 04:57:23 | Re: Bug: COPY IN doesn't test domain constraints |
Previous Message | Tom Lane | 2002-09-18 04:55:31 | Re: RPMS for 7.3 beta. |