Re: Database mirroring - Mailing list pgsql-hackers

From Karel Zak
Subject Re: Database mirroring
Date
Msg-id 20011122111341.E5427@zf.jcu.cz
Whole thread Raw
In response to Database mirroring  (Turbo Fredriksson <turbo@bayour.com>)
Responses Re: Database mirroring
List pgsql-hackers
On Thu, Nov 22, 2001 at 10:31:04AM +0100, Turbo Fredriksson wrote:
> Is it possible  to specify WHERE (on a  filesystem) a certain database
> should be located?
> 
> This would be nice to have when doing mirroring (with rServ for example).
> That way i can replicate/mirror a database on a different disk...
See docs about CREATE DATABASE statement and things pertinent tothis process.

CREATE DATABASE name   [ WITH [ LOCATION = 'dbpath' ]           ^^^^^^^^^^^^^^^^^^^^^   [ TEMPLATE = template ]   [
ENCODING= encoding ] ]
 

   Karel

-- Karel Zak  <zakkr@zf.jcu.cz>http://home.zf.jcu.cz/~zakkr/C, PostgreSQL, PHP, WWW, http://docs.linux.cz,
http://mape.jcu.cz


pgsql-hackers by date:

Previous
From: Turbo Fredriksson
Date:
Subject: Database mirroring
Next
From: Jean-Michel POURE
Date:
Subject: ALTER OR REPLACE feature