Issue #2977 has been updated by Daniel Mahlow.

SQLite3 also fails. DB initialization works, but once you try to access through 
the web interface:

SQLite3::SQLException: no such function: UNIX_TIMESTAMP:       SELECT
        COUNT(*) - SUM(success) as failed,
        COUNT(*) as total,
        SUM(success) / COUNT(*) * 100 as percent,
        FROM_UNIXTIME(FLOOR(UNIX_TIMESTAMP(time) / 300) * 300) as start
      FROM reports
 GROUP BY FLOOR(UNIX_TIMESTAMP(time) / 300) LIMIT 100
----------------------------------------
Feature #2977: PostgreSQL backend support
http://projects.reductivelabs.com/issues/2977

Author: Christian Hofstaedtler
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: 
Target version: 
Keywords: 
Branch: 


Please support PostgreSQL as a database (possibly all backends which Puppet 
itself supports).

In my limited testing I found that, app/models/status.rb contains MySQL-only 
SQL, and Rails somewhere calls all_hashes, which is also a MySQL-adapter-only 
function.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--

You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.


Reply via email to