jasonmp85/postgres — pull request #2 by jasonmp85 (2013-12-31 20:42:02+00:00)
Title: Add file_fdw support for external decompressors

This change augments the file foreign data wrapper by adding a new
`decompressor` option, whose value must be the path to an executable
which will be used to read `filename`. The contract is that the binary
will receive the filename as its sole argument and must decode it to
standard out.

If no decompressor is specified, `file_fdw` behaves as before.