Fix failing test on postgres 8.4 and 9.0

Use text format for voids since 8.4 and 9.0 doesn't support binary
format for void type.