PostgreSQL

10 views
Skip to first unread message

Morgan Dennithorne

unread,
Aug 1, 2012, 2:15:51 AM8/1/12
to bugl...@googlegroups.com
Hi,

I need to get BugLog working with PostgreSQL,  I've already done a bit of work against the 1.5 code. 

I thought I'd fork the latest on GitHub so my changes can be merged in.

Any ideas, tip before I get started?

Morgan.

Oscar Arevalo

unread,
Aug 1, 2012, 2:52:41 AM8/1/12
to bugl...@googlegroups.com
Hi Morgan,

The DB stuff is largely unchanged from 1.5 to 1.6, so you shouldn't have much problem there.

Pretty much all database interaction is handled by an abstraction layer in /bugLog/components/lib/dao, and the "meat" of the SQL syntax is pretty much centralized in dbDataProvider.cfc; so if the sql syntax changes are minimal, then you can maybe get away with just adding a couple of IF/THEN statements here and there, but if the changes are more significant then you could try having a different dataProvider child object.

Here is an old blog post describing this library: 

Aside from that, there is a large SELECT statement in entryFinder which may or may not need to be adjusted for SQL syntax. Also the util/includes directory have a few templates with small SQL statements. There are used to generate the Digest.

Other than that, just let me know if you hit any roadblocks and have any questions or suggestions about the code.

Oscar
--
Oscar Arevalo

Oscar Arevalo

unread,
Aug 1, 2012, 2:55:02 AM8/1/12
to bugl...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages