From: Raymond Toy <toy@rtp.ericsson.se>
Marc G. Fournier <scrappy@hub.org>
From: Raymond Toy <toy@rtp.ericsson.se>
Subject: [PATCHES] 970417: two more patches for large objects
Here are two more patches:
1. pg_getint doesn't properly set the status flag when
calling pqGetShort or pqGetLong. This is required when
accessing large objects via libpq. This, combined with
problem 1 above causes postgres to crash when postgres
tries to print out the message that the status was not
good.
2. ExceptionalCondition crashes when called with detail =
NULL. This patch prevents dereferencing the NULL.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/libpq/pqcomm.c | modified | +3 −3 |
| src/backend/utils/error/assert.c | modified | +2 −2 |