I am being required to use a postgreSQL database and it will replace my current use of berkeleyDB. Although; I realize this is not an ideal situation, it is beyond my control.
So the question is... If you were required to make postgreSQL into a key value store how would you go about doing this, while making it as efficient as possible?
My values are byte arrays and my key s are strings, I could impose some restrictions on the lengths of these strings.
I assume I should use a blob for my value and primary key column holding the key, but as I am just venturing into this journey I am curious if anyone in the stack overflow community has done this, or if there are any specific gotchas I should look out for.