Re: refdb-init.sh update
Markus Hoenicka <[email protected]>
| Newsgroups | gmane.text.refdb.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, Rich Shepard <[email protected]> was heard to say: > When the refdb-init.sh script is run, the database command 'createdb > <name>' is run. RefDB does not see this as a valid RefDB databse because it > was not created within the client, refdba. > > When the script gets to this last stage, it would need to invoke refdba -- > as the database user -- ask for the password, then run 'createdb <name>' from > within the administrative client. > I'm afraid you're mistaken here. The reference database is created with the following command in refdb-init.sh: # create a reference database if [ "${referencedb_name}" ]; then echo "" echo "===" echo "Create ${referencedb_name} as reference database" <prefix>/bin/refdba -c stdout -C createdb ${referencedb_name} fi The only time the script uses the Postgres command createdb is when the system database refdb is created. I don't know how you ran into this problem though. regards, Markus -- Markus Hoenicka [email protected] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de