Recent Posts

Archive

2012

2011

2010

2009

2008

2007

2006

Tags

Authors

Brad Montgomery

Feeds

RSS / Atom

Blog

Viewing posts tagged postgresql

PostgreSQL 9.1.2 via homebrew on OS X 10.7.2

Dec. 12nd, 2011 In: None By: Brad Montgomery 0 comments

I just picked up a snazzy new Macbook Air, and I'm working on setting up my development environment(s). For the most part this has been fairly easy. I pull in my repos from github and bitbucket, and I use virtualenv and pip to organize all my python packages (mostly installing from requirements files). Most of the other command-line tools get intalled with homebrew, and this time around I decided to install PostgreSQL with homebrew.

read more

Migrating PHP scripts to MySQL from PostgreSQL

Jan. 1th, 2007 In: None By: Brad Montgomery 2 comments

I've recently had to work on a project where I needed toconvert some very basic PHP code thataccessed a postgresqldatabase so that it would work with mysql. For the most part, this has beenfairly simple thanks to rpl. Many of PHP'sdatabase functions have very similar names, so I simply use rpl toconvert the existing code. Here's a simple bashscript that I put together to convert some of my postgresqlfunctions to mysql:

read more

Page 1 of 1:

  • 1