I installed the module in my PostgreSql drupal and there are error in syntax SQL.
In the Module Documentation
* warning: pg_query() [function.pg-query]: Query failed: ERROR: column "node.nid" must appear in the GROUP BY clause or be used in an aggregate function in /var/www/html/web/includes/database.pgsql.inc on line 125.
* user warning: query: SELECT COUNT(*) FROM node ORDER BY nid DESC in /var/www/html/web/includes/database.pgsql.inc on line 144.
Thanks
Comments
Comment #1
phayes commentedI also got this error.
The problem appears that the module is trying to execute the follow query
on line 358 of ajaxtable.module
Which is clearly illegal SQL since there is no nid column when you COUNT something.
There needs to be no ORDER BY clause when you do a count.
Also, and I dont understand the code or why this works
$count should be defined as $count = $row['count'];
Messy Hackstarting on line 358: