PostgreSQL support

lportela - October 23, 2009 - 20:07
Project:nodeorder
Version:6.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:fixed
Description

Hello.

Currently the module does not work correctly with PostgreSQL. This is because it is not possible to include in the ORDER BY clause, columns that do not appear in the select. This occurs in nodeorder_select_nodes() with weight_in_tid.

I am attaching a patch that fixes this.

Thank you very much.

Leandro

AttachmentSize
nodeorder_6.x-1.x-dev_postgresql.patch771 bytes

#1

lportela - October 23, 2009 - 20:07
Title:PostgreSQL aupport » PostgreSQL support

#2

marcp - October 23, 2009 - 22:42

@lportela - you make a great point. If you are able to create a patch off DRUPAL-6--1 it would make our job easier to get this in. See http://drupal.org/patch/create for instructions on how to create the patch.

Thanks for bringing this issue to our attention.

#3

lportela - October 27, 2009 - 14:50

According to the request, I send the new version of the patch.

Thanks.

AttachmentSize
nodeorder_6.x-1.x-dev_postgresql_v2.patch 1.54 KB

#4

tuffnatty - November 13, 2009 - 12:41
Status:active» needs review

vote +1 for this patch

#5

pvanderspek - November 15, 2009 - 13:32
Status:needs review» reviewed & tested by the community

I've added the patch to the current dev-version in the 6.x branch. Thanks for the work.

#6

pvanderspek - November 28, 2009 - 15:40
Version:6.x-1.x-dev» 6.x-1.1
Status:reviewed & tested by the community» fixed
 
 

Drupal is a registered trademark of Dries Buytaert.