Category Archives: Postgres

PostgreSQL Database Encryption

For last decade data breaches and data losses of Social Security numbers, credit card numbers, or one of a slew of other pieces of private information, have landed businesses on the front page of major newspapers, and in some instances … Continue reading

Posted in Postgres, Python | Leave a comment

Exploring Triggers in MySQL and PostgreSQL

Recently I was working on a car maintenance database. The database stores, among other things, odometer reading, miles per fill up, number of gallons per fill up, and cost per gallon. One of the missing pieces of information I wanted … Continue reading

Posted in MySQL, Postgres | Leave a comment

Returning Composite Types in Postgres Stored Procedures

Expanding on the PostgreSQL examples in our previous post, here we will look at taking advantage of some of the features in PostgreSQL 8.3 and modifying our zip_proximity function to avoid using cursors and instead define and return a set … Continue reading

Posted in Postgres | 1 Comment