From: Massimo Dal Zotto <dz@cs.unitn.it>
authorMarc G. Fournier <scrappy@hub.org>
Sun, 30 Aug 1998 19:30:38 +0000 (19:30 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Sun, 30 Aug 1998 19:30:38 +0000 (19:30 +0000)
commit3067ac8e77369c1b41195b4d90e2ff2c0b23bc7f
treef282cd9b0b92027550010d2ffb5712f1da720c63
parent3b7d13a6b0e6c242ee87d43119781937b0554db5
From: Massimo Dal Zotto <dz@cs.unitn.it>

After some playing with gdb I found that in printtup() there is a non null
attribute with typeinfo->attrs[i]->atttypid = 0 (invalid oid). Unfortunately
attibutes with invalid type are neither printed nor marked as null, and this
explains why psql doesn't get all the expected data.

So I made this patch to printtup():
src/backend/access/common/printtup.c