Re: Replicate database - Mailing list pgsql-interfaces

From Christoph Haller
Subject Re: Replicate database
Date
Msg-id 3F670C20.CBCD7230@rodos.fzk.de
Whole thread Raw
In response to Replicate database  (Caroline Yong <tarabas1978@yahoo.com>)
List pgsql-interfaces
>
> Is there a way to replicate one-off(a copy of
> duplicate) of an existing Postgres database.
>
Pretty late reply, hopefully not too late.

Using the --template template option of the
createdb command should do the trick.
Refer to the manual for details.
Regards, Christoph




pgsql-interfaces by date:

Previous
From: Alberto Cabello Sanchez
Date:
Subject: Re: ColumnName and ColumnNumber in libpq (C interface)
Next
From: Tom Lane
Date:
Subject: Re: ColumnName and ColumnNumber in libpq (C interface)