postgres table definitions