Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: How to find out about zlib compression


  • From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
  • To: Thomas Pundt <thomas(dot)pundt(at)rp-online(dot)de>
  • Cc: pgsql-general(at)postgresql(dot)org, Low Kian Seong <postgresql(dot)low(at)gmail(dot)com>
  • Subject: Re: How to find out about zlib compression
  • Date: Sun, 22 Oct 2006 13:15:09 +0200
  • Message-id: <20061022111509(dot)GA10740(at)svana(dot)org>

On Sun, Oct 22, 2006 at 09:55:23AM +0200, Thomas Pundt wrote:
> On Sunday 22 October 2006 09:43, Low Kian Seong wrote:
> | It says in the postgresql 8 documentation :
> |
> | "If PostgreSQL was built on a system with the zlib compression library
> | installed, the custom dump format will compress data as it writes it to the
> | output file"
> |
> | My question, if we are using binaries on a rpm based system and without
> | looking at the src.rpm is there a way to query the postgresql server to
> | find out whether it was built against the zlib compression library ?
> 
> ldd /path/to/your/bin/postgres | grep libz

You should be checking the libraries used by pg_dump, not postgres.

It's pg_dump that does the compression, the actual server does not use
an external compression library (directly anyway).

Have a nice day,
-- 
Martijn van Oosterhout   <kleptog(at)svana(dot)org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Attachment: signature.asc
Description: Digital signature



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group