PostgreSQL support for Asset 1.x

pounard - April 15, 2008 - 09:20
Project:Asset
Version:5.x-1.0-beta3
Component:Code
Category:feature request
Priority:normal
Assigned:wmostrey
Status:closed
Description

I did a quick dirty patch fort Asset 1.x core only, which seems to works until now, to support pgsql database

AttachmentSize
asset.install-pgsql.patch2.52 KB

#1

pounard - April 15, 2008 - 09:33
Status:patch (code needs review)» active

It's missing a patch for asset.module, i'm currently trying to do it

#2

pounard - April 15, 2008 - 10:29

I had also to rewrite some SQL requests with a wrong string escaping in asset_wizard.inc

I repeat, if someone fall on this post that i'm doing this work as a personal work with no warantee that it always works. If you want to test and if it works for you, then I'll be glad I'm usefull to someone else than me :)

Update: updated install patch file and wizard include patch file

Another update: added install file patch for youtube module

Final note: Asset insertions and loading works on my box (with a postgresql 8.3). I need more testing, if someone is interested. I did not test the youtube module.

AttachmentSize
asset_youtube.install-pgsql.patch603 bytes
asset_wizard.inc-pgsql.patch2.29 KB
asset.install-pgsql.patch2.51 KB

#3

pounard - April 16, 2008 - 09:50
Status:active» patch (to be ported)

#4

pounard - May 6, 2008 - 15:25

Here is the patch for the 5.x-1.0-beta3 version (all modules in one patch file)

put the file in sites/all/modules then run
patch -p0 < asset-5.x-1.0-beta3-pgsql.patch

AttachmentSize
asset-5.x-1.0-beta3-pgsql.patch6.53 KB

#5

pounard - May 6, 2008 - 15:26
Version:5.x-1.x-dev» 5.x-1.0-beta3

#6

wmostrey - May 6, 2008 - 16:12
Assigned to:Anonymous» wmostrey

Thanks so much for your work on this Pierre. I'll make sure this gets into beta4. Your help on this is highly appreciated!

#7

wmostrey - May 12, 2008 - 08:48
Status:patch (to be ported)» fixed

This has been committed to dev in http://drupal.org/cvs?commit=115826 and is right on time for beta 4. Thanks so much for this!

#8

Anonymous (not verified) - May 26, 2008 - 08:51
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.