Name

gz_uncompress — Uncompress a string using gzip algorithm

Synopsis

gz_uncompress ( in str varchar ,
  out str_out string_output );
 

Description

gz_uncompress takes a string argument, uncompresses it using the gzip algorithm, writing it to a string_output given as the second argument.

Parameters

str

A string to be uncompressed.

str_out

A string_output where the uncompressed output should be written.

Return Types

Always returns NULL.

Errors

Examples

See gz_compress .