This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.Selected .cdmHeader { | |
background-color: #91C3EE; | |
font-weight: bold; | |
} | |
div.cdmFeedTitle > div:first-child { | |
float: left !important; | |
margin-right: 5px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define postgresql::db ($name, $ensure=present){ | |
case $ensure { | |
present: { | |
exec { "Create $name postgres db": | |
command => "createdb $name", | |
unless => "test \$(psql -tA -c \"SELECT count(*)=1 FROM pg_catalog.pg_database where datname='${name}';\") = t", | |
} | |
} | |
absent: { | |
exec { "Remove $name postgres db": |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/3rdparty/MDB2/Driver/Manager/pgsql.php b/3rdparty/MDB2/Driver/Manager/pgsql.php | |
index f2c2137..3e70f3a 100644 | |
--- a/3rdparty/MDB2/Driver/Manager/pgsql.php | |
+++ b/3rdparty/MDB2/Driver/Manager/pgsql.php | |
@@ -363,6 +363,7 @@ class MDB2_Driver_Manager_pgsql extends MDB2_Driver_Manager_Common | |
return MDB2_OK; | |
} | |
+ $unquoted_name = $name; | |
$name = $db->quoteIdentifier($name, true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** createuser -d -R -S -P test | |
* => set password to "a b c" | |
*/ | |
$dsn = "pgsql:dbname=test;host=localhost"; | |
$user = "test"; | |
$psw = "a b c"; | |
try{ |
NewerOlder