postgres extension

Hello Nico,

here's a trivial type to add. It also contains some stuff coming from your own git tree, please ignore that, I think it should merge just fine.

Viele Grüsse,
*t