Postgresql tools
1, pgpool
2, pgtop
[box]:#pgtop -u DBUSER -d DATAB ASE -s 1
3, pgtune
4, pgfouine
5, phppgadmin
6, MicroOLAP Database Designer for PostgreSQL
7, pg_controldata
Tíz technológia amit mindenképp ismerned kell
1, OOP PHP
2, FreeBSD
3, SQL (MySQL, Postgresql)
4, Memcached
5, ZFS
6, HTTP (apache, lightthpd)
7, Smarty
9, PEAR
10, SVN, (git, cvs)
how to pear mdb2 statement prepare, execute, free
mdb2 = new &MDB2::factory($dsn, $options);
$sql = 'SELECT * FROM schema.table WHERE valueinteger = ? AND valuetext = ? AND valueboolean = ?';
$types = array('integer', 'text', 'boolean');
$statement = $mdb2->prepare($sql, $types);
$data = array('integer', 'text', true);
$resultset = $statement->execute($data);
$statement->free();
while ($rows = $resultset->fetchRow(MDB2_FETCHMODE_ASSOC)) {
//todo
}
The database cluster was initialized without HAVE_INT64_TIMESTAMP but the server was compiled with HAVE_INT64_TIMESTAMP.
FATAL: database files are incompatible with server
DETAIL: The database cluster was initialized without
HAVE_INT64_TIMESTAMP but the server was compiled with
HAVE_INT64_TIMESTAMP.
HINT: It looks like you need to recompile or initdb.
solution: deinstall postgre, reinstall postgre without
"INTDATE Builds with 64-bit date/time type (server)"