tj <tj(at)getlostspammer(dot)com> writes:
> Its not really a fatal error, is it? Shouldn't it be reported as a
> NONFATAL_ERROR ?
It's "fatal" to the particular query that was executing.
PGRES_NONFATAL_ERROR is only used for notice messages. These constant
names are perhaps rather poorly chosen, but we can't change them now
without incurring an unreasonable amount of confusion and backwards
compatibility problems ...
regards, tom lane