product to postgresql