I just installed Drupal with PostgreSQL successfully, but the OG module seems to cause a problems. When I try to create a new group, I get the following errors with no HTML returned, but the group is created anyway:
warning: pg_query(): Query failed: ERROR: syntax error at or near "REPLACE" at character 1 in /path/to/drupal/includes/database.pgsql.inc on line 104.
user error:
query: REPLACE INTO node_access (nid, gid, realm, grant_view, grant_update, grant_delete) VALUES (2, 1, 'og_uid', 1, 1, 1) in /path/to/drupal/includes/database.pgsql.inc on line 121.
warning: Cannot modify header information - headers already sent by (output started at /path/to/drupal/includes/common.inc:406) in /path/to/drupal/includes/common.inc on line 217.
Visiting the group's page issues the following errors above the regular page:
warning: pg_query(): Query failed: ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list in /path/to/drupal/includes/database.pgsql.inc on line 104.
user error:
query: SELECT DISTINCT(n.nid) FROM node n INNER JOIN node_access na ON n.nid = na.nid WHERE '1' AND (na.gid = 2) AND na.realm = 'og_group' AND n.status=1 AND n.type != 'og' ORDER BY n.created DESC LIMIT 10 OFFSET 0 in /path/to/drupal/includes/database.pgsql.inc on line 121.
Attempting to join a group yields the following with no returned page, and no apparent effect on subscription: