$connectVars['port'] = (int)$this->port;
}
if ( $this->flags & self::DBO_SSL ) {
- $connectVars['sslmode'] = 1;
+ $connectVars['sslmode'] = 'require';
}
$this->connectString = $this->makeConnectionString( $connectVars );
/**
* Posted by cc[plus]php[at]c2se[dot]com on 25-Mar-2009 09:12
- * to https://secure.php.net/manual/en/ref.pgsql.php
+ * to https://www.php.net/manual/en/ref.pgsql.php
*
* Parsing a postgres array can be a tricky problem, he's my
* take on this, it handles multi-dimensional arrays plus
return [ $startOpts, $useIndex, $preLimitTail, $postLimitTail, $ignoreIndex ];
}
- public function getServer() {
- return $this->server;
- }
-
public function buildConcat( $stringList ) {
return implode( ' || ', $stringList );
}
return $row ? ( strtolower( $row->default_transaction_read_only ) === 'on' ) : false;
}
+ public static function getAttributes() {
+ return [ self::ATTR_SCHEMAS_AS_TABLE_GROUPS => true ];
+ }
+
/**
* @param string $lockName
* @return string Integer