postgresql as external extension