[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[4520] trunk/LedgerSMB/Database.pm
- Subject: SF.net SVN: ledger-smb:[4520] trunk/LedgerSMB/Database.pm
- From: ..hidden..
- Date: Thu, 22 Mar 2012 01:55:29 +0000
Revision: 4520
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4520&view=rev
Author: einhverfr
Date: 2012-03-22 01:55:28 +0000 (Thu, 22 Mar 2012)
Log Message:
-----------
Clarifying comments
Modified Paths:
--------------
trunk/LedgerSMB/Database.pm
Modified: trunk/LedgerSMB/Database.pm
===================================================================
--- trunk/LedgerSMB/Database.pm 2012-03-21 14:22:42 UTC (rev 4519)
+++ trunk/LedgerSMB/Database.pm 2012-03-22 01:55:28 UTC (rev 4520)
@@ -394,13 +394,14 @@
$logger->trace("trying to create db \$ENV{PG_CONTRIB_DIR}=$ENV{PG_CONTRIB_DIR}");
# We have to use template0 because of issues that Debian has with database
# encoding. Apparently that causes problems for us, so template0 must be
- # used.
+ # used. Hat tip: irc user nwnw on #ledgersmb
#
# Also moved away from createdb here because at least for some versions of
- # PostgreSQL, it connects to the postgres db in order to issue the CREATE DATABASE
- # command. This makes it harder to adequately secure the platform via pg_hba.conf.
+ # PostgreSQL, it connects to the postgres db in order to issue the
+ # CREATE DATABASE command. This makes it harder to adequately secure the
+ # platform via pg_hba.conf. Long run we should specify a locale.
#
- # Hat tip: irc user nwnw -- CT
+ # Hat tip: irc user RhodiumToad on #postgresql -- CT
use DBI;
my $dbh = DBI->connect('dbi:Pg:dbname=postgres');
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.