summaryrefslogtreecommitdiff
path: root/src/backend/utils/cache/catcache.c
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1996-10-24 06:33:31 +0000
committerMarc G. Fournier <scrappy@hub.org>1996-10-24 06:33:31 +0000
commit82a4b0f225af03d99318e63951e1ea3ba08f74b7 (patch)
treea71cb5c35c3d687df19fded1415047827e5f7676 /src/backend/utils/cache/catcache.c
parentb5c7fe5518f191ed702e3f188c06e597cf20bb09 (diff)
Fixes:
It's bug in nodeAgg.c on lines 241, 242: null_array = malloc(nagg); for (i=0;i<nagg;i++) null_array[i] = 'n'; oneTuple = heap_formtuple(tupType, tupValue, null_array); - your query has not only aggregates but also 'group by-ed' fields and so null_array should contain tupType->natts elements (tupType->natts > nagg in your case). Patch follows and it's very simple. VAdim
Diffstat (limited to 'src/backend/utils/cache/catcache.c')
0 files changed, 0 insertions, 0 deletions