Hashed crosstab was dying with an SPI_finish error when the source SQL
authorJoe Conway <mail@joeconway.com>
Wed, 11 Aug 2004 00:49:35 +0000 (00:49 +0000)
committerJoe Conway <mail@joeconway.com>
Wed, 11 Aug 2004 00:49:35 +0000 (00:49 +0000)
commitbc8a1fc282005f6da9ff7650eadc65b160077e43
treeaa557e7317735b2b9385c30d7fe8b5ae68e75730
parent7d3b7db8da4132459e92a869833fe481be2ebca2
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.
contrib/tablefunc/expected/tablefunc.out
contrib/tablefunc/sql/tablefunc.sql
contrib/tablefunc/tablefunc.c