From: | "chris markiewicz" <cmarkiew(at)commnav(dot)com> |
---|---|
To: | <pgsql-general(at)postgresql(dot)org> |
Subject: | clean rebuild process? |
Date: | 2001-02-06 20:02:48 |
Message-ID: | 007201c09077$c7b1cc40$dbb846c6@cmarkiewicz |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
hello.
i am trying to develop a relatively clean process for creating/populating a
new database. i have all of the table creation scripts and am about to
start writing scripts to populate the db with the necessary default data (an
admin user, a guest user, default application info, default preferences, etc
etc etc). is there any easy way to do this?
my current approach is to write a bunch of insert statements in a text
editor. i can do this, but it's error prone (or i guess i am). obviously
if i already have a source db i can do some table copying, but i would like
to make this work for a fresh install on a new machine.
is there a better way?
the limit of my imaginatin is this - some sort of command/utility that
queries a table and generates the insert statements from the results. then
i wouldn't have to worry about updating my default data scripts everytime
data changes.
i appreciate your help/suggestions.
chris
From | Date | Subject | |
---|---|---|---|
Next Message | Culley Harrelson | 2001-02-06 20:11:06 | selecting a random record |
Previous Message | Chuck Esterbrook | 2001-02-06 19:24:08 | Re: Re: PostreSQL SQL for MySQL SQL |