Indefero

Indefero Commit Details


Date:2009-10-06 13:54:28 (15 years 2 months ago)
Author:Loic d'Anterroches
Branch:develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:a82b4b7b6b3495016e19a1420b80d057b5aadec7
Parents: 37e060464710f2b42d44ffab6147776dd2269ccf
Message:Fixed issue 305, improved the compatibility with PostgreSQL 8.4.

Changes:

File differences

src/IDF/Views/Admin.php
345345
346346
347347
348
348
349
349350
350351
351352
}
switch (Pluf::f('db_engine')) {
case 'PostgreSQL':
$sql = 'SELECT relname, pg_total_relation_size(relname) AS size FROM pg_class AS pgc, pg_namespace AS pgn
$sql = 'SELECT relname, pg_total_relation_size(CAST(relname AS
TEXT)) AS size FROM pg_class AS pgc, pg_namespace AS pgn
WHERE pg_table_is_visible(pgc.oid) IS TRUE AND relkind = \'r\'
AND pgc.relnamespace = pgn.oid
AND pgn.nspname NOT IN (\'information_schema\', \'pg_catalog\')';

Archive Download the corresponding diff file

Page rendered in 0.07723s using 14 queries.