Tailing files with Python Generators
I’m slowly improving my Python skills, which always goes much better when you’re on a real mission.
I’m now working on some tools to monitor PostgreSQL performance and I thought Python would be a good choice for that. One of the things I need to do is follow a log file so that I can parse […]
Little weekend hack - Native UUIDs in PostgreSQL
Check out the polarrose-postgresql-uuid project hosted at Google Code. It contains a simple native UUID implementation for PostgreSQL. I did this as an exercise but I’m considering to put this into production since it saves a lot of memory and disk space. A whopping 47% on tables that have an indexed uuid column.
My next PostgreSQL […]