Last week, Trond and I played with PostgreSQL as a storage engine for Memcached. Great stuff if you think that the world is moving too fast, and want to slow down a bit 
He forgot to post the table we used in the database. Nothing revolutionary, but here it is:
DROP TABLE IF EXISTS memcached;
CREATE TABLE memcached (
key VARCHAR (250),
expire_time INT,
header_size INT,
data BYTEA,
CONSTRAINT pk_key PRIMARY KEY (key)
);
The data column contains both the Memcached header and the data from the application, it would probably be a better idea to store the header and the data in separate columns, then the header_size column could be removed as well.

