Re: Re: CREATEDB Where ??

From: Doug McNaught <doug(at)wireboard(dot)com>
To: pmoscatt(at)bigpond(dot)net(dot)au
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: CREATEDB Where ??
Date: 2001-08-20 15:55:42
Message-ID: m3g0amlo8x.fsf@belphigor.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Moscatt <pmoscatt(at)bigpond(dot)net(dot)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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-08-20 15:58:05 Re: LIKE indexing
Previous Message Lincoln Yeoh 2001-08-20 15:52:03 RE: User locks code