#1  
Old 2007-01-24, 05:03 PM
Deuce Deuce is offline
Senior Member
 
Join Date: Aug 2006
Location: California
Posts: 66
Default Postgres patch for 4.5.0h

Here's a PostgreSQL patch for 4.5.0h.
Here's how to get it installed... First, download and install the postgres (8.2 is the latest currently) server from postgresql.org. Then, download the full Sugar Open Source 4.5.0h (the mysql version, not the one for Microsoft SQL Server) and unzip it in your webserver directory. Next, unzip the attached Sugar-4.5.0h_PGSQLFiles.zip file in the same directory, overwriting the existing files with the ones in the Sugar-4.5.0h_PGSQLFiles.zip file. Then run the installer as usual.

Some issues:
The demo data won't install, so leave that option unchecked.
I had to change many core files due to that Postgres REQUIRES the AS keyword in sql statements when a field is aliased, where in mysql and mssql server it is optional. Sugar is full of queries with aliased fields without the AS keyword, though in many ueries it is already present.. (may I submit a feature request: sql coding standards ) Due to these changes, please be aware that the postgres patch is not upgrade/patch safe.

Disclaimer:
I'm sure there's bugs in there somewhere, let me know if you find any.
I did this port just to familiarize myself with the Sugar code, and I've tested the basic functionality, but that's it...
Attached Files
File Type: zip Sugar-4.5.0h_PGSQLFiles.zip (206.7 KB, 510 views)
Reply With Quote
  #2  
Old 2007-01-29, 06:12 PM
telenieko telenieko is offline
Member
 
Join Date: Dec 2005
Posts: 9
Default Re: Postgres patch for 4.5.0h

Hi Deuce,
These are really **really** good new, hope to see this merged upstream soon as a basis to get postgesql support in place!!

Really nice work,
thanks a lot in name of all postgresql fans! ))
Reply With Quote
  #3  
Old 2007-09-20, 07:21 PM
msotocl msotocl is offline
Junior Member
 
Join Date: Sep 2007
Posts: 1
Default Re: Postgres patch for 4.5.0h

Hi, i try to dowload Postgres patch for 4.5.0h file but say it´s corrupt the package, please can send me files to email msotocl@gmail.com

thank very much


Quote:
Originally Posted by Deuce
Here's a PostgreSQL patch for 4.5.0h.
Here's how to get it installed... First, download and install the postgres (8.2 is the latest currently) server from postgresql.org. Then, download the full Sugar Open Source 4.5.0h (the mysql version, not the one for Microsoft SQL Server) and unzip it in your webserver directory. Next, unzip the attached Sugar-4.5.0h_PGSQLFiles.zip file in the same directory, overwriting the existing files with the ones in the Sugar-4.5.0h_PGSQLFiles.zip file. Then run the installer as usual.

Some issues:
The demo data won't install, so leave that option unchecked.
I had to change many core files due to that Postgres REQUIRES the AS keyword in sql statements when a field is aliased, where in mysql and mssql server it is optional. Sugar is full of queries with aliased fields without the AS keyword, though in many ueries it is already present.. (may I submit a feature request: sql coding standards ) Due to these changes, please be aware that the postgres patch is not upgrade/patch safe.

Disclaimer:
I'm sure there's bugs in there somewhere, let me know if you find any.
I did this port just to familiarize myself with the Sugar code, and I've tested the basic functionality, but that's it...
Reply With Quote
  #4  
Old 2007-09-25, 12:33 AM
impressionist impressionist is offline
Junior Member
 
Join Date: Sep 2007
Posts: 1
Default Re: Postgres patch for 4.5.0h

Thanks! Trying it out
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sugar Suite 4.2.1 Patch E Now Available for Download julian Announcements 0 2007-01-16 06:33 PM
Sugar 4.5.0 Patch G Now Available for Download jnassi Announcements 0 2006-12-16 01:08 AM
Sugar 4.5.0 Patch E Now Available for Download clint Announcements 0 2006-10-22 07:08 PM
Asterisk Patch 1.1.0 Crash on logon skyracer Help 6 2006-07-08 06:30 AM


All times are GMT. The time now is 08:02 AM.


Powered by: vBulletin
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SourceForge.net Logo