Re: Re: CREATEDB Where ?? - Mailing list pgsql-hackers

From Doug McNaught
Subject Re: Re: CREATEDB Where ??
Date
Msg-id m3g0amlo8x.fsf@belphigor.mcnaught.org
Whole thread Raw
In response to Re: CREATEDB Where ??  (reina@nsi.edu (Tony Reina))
List pgsql-hackers
Peter Moscatt <pmoscatt@bigpond.net.au> writes:

> Thanks Tony... yes that helps explain why I am not seeing what I expected 
> to see.
> 
> Right.....  If I was developing an application, say with Python and I 
> needed to transport my created database and make it part of an installation 
> process (create a tar ball with all needed components), do I just include 
> the /usr/local/pgsql/data  directory as part of my dist ??

It would be a MUCH better idea instead to include an SQL script that's 
run automatically by the install process.

It's more flexible and more robust against version skew etc.

-Doug
-- 
Free Dmitry Sklyarov! 
http://www.freesklyarov.org/ 

We will return to our regularly scheduled signature shortly.


pgsql-hackers by date:

Previous
From: "Rick Richardson"
Date:
Subject: Beowulf support
Next
From: Tom Lane
Date:
Subject: Re: Suggestion for To Do List - Client timeout please.