Category Archives: SQL

All things SQL and RDBMS related.

Connecting SQLObjects to PostgreSQL via SSL

I’m trying to learn TurboGears, but I got stumped yesterday trying to figure out how to connect to PostgreSQL via SSL. Turns out this works in SQLObject (TurboGear’s default ORM): sqlobject.dburi=”postgres://username:pass@servername/mydb sslmode=require” Turns out the syntax I was trying to … Continue reading

Posted in Open Source, PostgreSQL, Python, SQL, Technology | Leave a comment

Setting Up Yet Another Debian Etch Server

A teacher e-mailed me the other day wondering if I could setup a server with Moodle on it for him to test. I was overjoyed at the request because the teacher had discovered Moodle, MySQL, PHP, and Linux (as well … Continue reading

Posted in GNU/Linux, IT, Open Source, PHP, SQL, Technology | Leave a comment

PostgreSQL 8.2 Released

Just noticed PostgreSQL 8.2 was released yesterday. I chose PostgreSQL 8.x for a large project when MySQL 5 either wasn’t out or was too new for my comfort. I learned database application programming on MySQL, but now I choose PostgreSQL … Continue reading

Posted in Open Source, PostgreSQL, SQL, Technology | Leave a comment

When dealing with 1 GB databases…

…create good indexes. This should be obvious, but for some reason I was getting frustrated with MySQL for taking almost 30 seconds to query a 1 GB table that only had a worthless index on a surrogate key. With proper … Continue reading

Posted in Open Source, SQL, Technology | Leave a comment

ODBC Test Tool

Today I find myself once again fighting Crystal Reports. It claims that it can’t connect to the ODBC datasource I created for it since it can’t use Npgsql. Just to prove it wrong I quick hacked together an ODBC Test … Continue reading

Posted in Mono/.Net, SQL, Technology | 1 Comment

SchoolWorks on Linux: Part 1 of Many

Now that SchoolWorks has officially been released, I guess I can begin posting about my attempts to get it running on Linux. First of all SchoolWorks is school administration software (or SIS) built using: ASP.NET 2.0 (in Windows using Microsoft … Continue reading

Posted in GNU/Linux, Mono/.Net, Open Source, PostgreSQL, SQL, Technology | Tagged | 1 Comment