Have crosstab variants treat NULL rowid as a category in its own right,
Joe Conway <mail@joeconway.com>
Have crosstab variants treat NULL rowid as a category in its own right, per suggestion from Tom Lane. This fixes crash-bug reported by Stefan Schwarzer.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/tablefunc/data/ct.data | modified | +4 −0 |
| contrib/tablefunc/expected/tablefunc.out | modified | +28 −19 |
| contrib/tablefunc/tablefunc.c | modified | +59 −39 |