Philip Warner <pjw(at)rhyme(dot)com(dot)au> writes:
> It's a real pity about pg_get_userbyid - the output for non-existant users
> is pretty near useless. I presume it's there for convenience of a specific
> piece of code.
No, I imagine it's just that way because it seemed like a good idea at
the time. Returning NULL for an unknown userid seems at least as
plausible as what it does now. Comments anyone?
regards, tom lane