Hashed crosstab was dying with an SPI_finish error when the source SQL
Joe Conway <mail@joeconway.com>
Hashed crosstab was dying with an SPI_finish error when the source SQL produced no rows. Now it returns 0 rows instead. Adjusted regression test for this case.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/tablefunc/expected/tablefunc.out | modified | +19 −1 |
| contrib/tablefunc/sql/tablefunc.sql | modified | +11 −0 |
| contrib/tablefunc/tablefunc.c | modified | +9 −14 |