PostgreSQL support

jaydub - January 10, 2007 - 10:42
Project:User Protect
Version:7.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

See attached patch for prelim PostgreSQL support. Defaults seem reasonable. The MySQL table def includes a 'UNIQUE KEY' which has no directory corollary in PostgreSQL. Normally a 'KEY' alone in a table def is an alias for an INDEX. If the 'KEY' portion of the 'UNIQUE KEY' in MySQL is for an index, then the PostgreSQL def will also need a CREATE INDEX call.

AttachmentSize
userprotect.install.patch2.21 KB

#1

hunmonk - January 10, 2007 - 22:44
Status:postponed (maintainer needs more info)» needs work

afaik KEY is a synonym for pgSQL's INDEX, so go ahead and add the index query to the patch, and i'll review further.

#2

hunmonk - February 17, 2007 - 20:17
Version:4.7.x-1.x-dev» 7.x-1.x-dev
Status:needs work» fixed

i fixed up the patch and applied to all branches -- thanks!

#3

Anonymous - March 3, 2007 - 20:30
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.