Thanks for your great job In my opinion:
> 1) should I use PostgreSQL error codes and throw exceptions based on them? So you could probably write: > > (catch 'PGintegrityError ...) > (catch 'PGconstraintError ...) You should. It's a good practice to handle exceptions and this allow developers to control what happens and made robust soft > 2) probably I have to extract pg types <-> pico types translation to some kind of abstract table to support extensibility? So devs could add their own types to translation table without encoding-decoding by hand. I think it should be a nice feature but maybe not required