problem with tips against postgresql