postgresql user fixes