bric_pgimport - Builds a Bricolage Database
This is a developer program. Users should
make install to build their Bricolage installations and database. Note that it only works with PostgreSQL 7.3 and later.
The location of the psql program. Defaults to simply 'psql' if undefined. This should work if psql is in your path.
The directory with the Subversion SQL files. Defaults to lib subdirectory of BRICOLAGE_ROOT environment variable, which itself defaults to /usr/local/bricolage.
Database user login. Defaults to
PGUSER environment variable.
Database user password. Defaults to
PGPASSWORD environment variable.
Database name. Defaults to
PGDATABASE environment variable.
PostgreSQL server host name. Will use
PGHOST environment variable or else PostgreSQL assumes that it's connecting via local Unix sockets.
PostgreSQL server port number. Will use
PGPORT environment variable or else PostgreSQL assumes that it's connecting via local Unix sockets.
Create the database first.
Drop and recreate the exiting database (assumes -c).
Make a new user. Pass in the user name and password separated by a colon. Permissions will be granted to this user to access the new database (assumes -g for this user).
User name to which permissions should be granted on the new database.
Print this help message.
Garth Web <firstname.lastname@example.org>
David Wheeler <email@example.com>