Skip to content
Snippets Groups Projects
Commit 613c6d26 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Fix incorrect error message reported for non-existent users

Previously, lookups of non-existent user names could return "Success";
it will now return "User does not exist" by resetting errno.  This also
centralizes the user name lookup code in libpgport.

Report and analysis by Nicolas Marchildon;  patch by me
parent 11ac4c73
No related branches found
No related tags found
Loading
Showing
with 129 additions and 157 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment