Ecommerce php application using postgresql as database server