Blog
Things you learn.... Reddit runs PostgreSQL (and Cassandra)
When Too Smart Becomes Stupid: fixing a RoR PgSQL driver issue
One of our customers who is using Ruby on Rails with the PostgreSQL database backend notified us of a long-standing issue with the database driver: Lighthouse ticket #3721
The driver is doing something that at first glance looks like a smart thing, but apparently it's not that smart. What it does is it tries to detect the bit-string notation (binary vs. hexadecimal) based on the string content passed to it. …
Finally, a Real Pastebin Plugin for Redmine
It was rather puzzling to me why Redmine doesn't come with a Pastebin module and why there's no plugin for that.
One of the proposed "solutions" is to start a new wiki page, and put some <code> markup there. While this seems to work, it has some limitations a real pastebin component wouldn't suffer from. First thing that comes to mind is that you need a unique name to start …
Recovering a lost-and-found database
Last week, a company's only PostgreSQL database server suffered an UPS failure. When they found they couldn't connect to it afterwards, they called Command Prompt to investigate.
The most important lesson to be learned here is: you need to make very sure you have backups. Even if the strategy is too simple, or even if they are taken only once a fortnight, they are going to save your neck …
#PgEast update, trainings, roundtables and NYC -- Oh my
NoSQL, ??? Is there a threat?
#PgEast session schedule is up
#PgEast Training Schedule is up
Grant schema usage to 2500 users? No can do!
It all started with a help request from a someone on IRC: he has about 2500 roles, and all of them have been granted USAGE privileges on a schema. He went on to create a bunch more and grant the same privilege, but it failed:
CREATE ROLE some_user_2501; GRANT USAGE on schema genetics to some_user_2501; ERROR: row is too big: size 8168, maximum size 8164
Oops.
Now, let this be …