[Rt-commit] rt branch, 4.2/store-dba-name, created. rt-4.1.5-149-g0dfa5b9
Alex Vandiver
alexmv at bestpractical.com
Thu Dec 20 16:37:29 EST 2012
The branch, 4.2/store-dba-name has been created
at 0dfa5b9c6e36baa974620cc354e57677f670ef0d (commit)
- Log -----------------------------------------------------------------
commit 0dfa5b9c6e36baa974620cc354e57677f670ef0d
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Thu Dec 20 16:37:18 2012 -0500
Store the name of the DBA used, so plugins can use it
Currently, plugins which "make initdb" attempt to connect as the
$DatabaseUser to create new tables, which may not have the necessary
rights. Store the database administrator used at configure-time, so the
right DBA can be defaulted to during plugin "make initdb".
diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index e78786f..f88726f 100755
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -203,6 +203,15 @@ database.
Set($DatabaseRequireSSL, undef);
+=item <$DatabaseAdmin>
+
+The name of the database administrator to connect to the database as
+during upgrades.
+
+=cut
+
+Set($DatabaseAdmin, "@DB_DBA@");
+
=back
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list