News for hackers. Stuff that matters.
Re:Arrays in Postgres by ksherlock on Wednesday August 22, 2012 @12:51AM (#4416094)
I used Postgres arrays in a project a few years ago -- The university course catalog was so awful I had to create my own. There was a 7-element array of integers (one for each day of the week) where each element was a bitmap indicating if the class was active in that period.

To the DB driver, it was just a string -- { 0, 0, 0, 0, 0, 0, 0} -- so I split it into an array manually in client code.

There are no comments on this comment yet.