glom r1437 - in trunk: . glom/libglom
- From: arminb svn gnome org
- To: svn-commits-list gnome org
- Subject: glom r1437 - in trunk: . glom/libglom
- Date: Sun, 24 Feb 2008 16:27:00 +0000 (GMT)
Author: arminb
Date: Sun Feb 24 16:26:59 2008
New Revision: 1437
URL: http://svn.gnome.org/viewvc/glom?rev=1437&view=rev
Log:
2008-02-24 Armin Burgmeier <armin openismus com>
* glom/libglom/connectionpool.cc: Pass -i instead of -h "*" to
postmaster. This is equivalent, but it does not require postgres to
be linked against CRT_noglob.o on Windows.
Modified:
trunk/ChangeLog
trunk/glom/libglom/connectionpool.cc
Modified: trunk/glom/libglom/connectionpool.cc
==============================================================================
--- trunk/glom/libglom/connectionpool.cc (original)
+++ trunk/glom/libglom/connectionpool.cc Sun Feb 24 16:26:59 2008
@@ -842,7 +842,7 @@
// POSTGRES_POSTMASTER_PATH is defined in config.h, based on the configure.
const std::string command_postgres_start = Glib::shell_quote(get_path_to_postgres_executable("postmaster")) + " -D \"" + dbdir_data + "\" "
+ " -p " + port_as_text
- + " -h \"*\" " //Equivalent to listen_addresses in postgresql.conf. Listen to all IP addresses, so any client can connect (with a username+password)
+ + " -i " //Equivalent to -h "*", which in turn is equivalent to listen_addresses in postgresql.conf. Listen to all IP addresses, so any client can connect (with a username+password)
+ " -c hba_file=\"" + dbdir + "/config/pg_hba.conf\""
+ " -c ident_file=\"" + dbdir + "/config/pg_ident.conf\""
+ " -k \"" + dbdir + "\""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]