Hashed crosstab was dying with an SPI_finish error when the source SQL
authorJoe Conway <mail@joeconway.com>
Wed, 11 Aug 2004 01:02:08 +0000 (01:02 +0000)
committerJoe Conway <mail@joeconway.com>
Wed, 11 Aug 2004 01:02:08 +0000 (01:02 +0000)
commita1dd58e50990b5a1740371b16a1bd1ccb0721b3e
tree5f7ac5bdf530671569adc7511ac4f4e6a46c4adc
parente2a994be73d5773e2a6a7dabd40a8321edc80510
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