dbTalk Databases Forums  

pg_dump warning message

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss pg_dump warning message in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
David Rickard
 
Posts: n/a

Default pg_dump warning message - 04-12-2004 , 11:24 AM






Postgres version: 7.3.4
Environment: Solaris (SunOS 5.9) Ultra-250
We use pg_dump to do a nightly export of all databases, via these commands:

for instance in $(get_instances) ; do
outfile=${exportdir}/${instance}~EXPORT~${ymd}.sql
su - ${pg_user} -c "${pg_home}/bin/pg_dump -c -C -D -F c -f ${outfile}
${instance}"
gzip ${outfile}
done

The pg_dump switches indicate a "custom" file format, and the output file
is a standard plain-text UNIX file.
Nevertheless, when the export runs, it throws this warning for each
database instance:

pg_dump: [archiver] WARNING: requested compression not available in this
installation - archive will be uncompressed

This does not appear to affect the contents of the export file--but it
would be nice to understand what is generating these messages--and to
eliminate the chatter (which the system crontab treats as error messages);


--

David Rickard
Software Engineer
The GTS Companies
A TechBooks Company

----------------------------------------------------------------------------------

The GTS Companies:
GTS Publishing Services, GTS Graphics, GTS Innova:
Your Single-Source Solution!
Los Angeles CA * York, PA * Boston MA * New Delhi, India
----------------------------------------------------------------------------------



David.Rickard (AT) GTSCompanies (DOT) com
Visit us on the World Wide Web
http://www.gtscompanies.com
5650 Jillson St., Los Angeles, CA 90040
(323) 888-8889 x331
(323) 888-1849 [fax]



Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: pg_dump warning message - 04-12-2004 , 01:36 PM






David Rickard <David.Rickard (AT) GTScompanies (DOT) com> writes:
Quote:
The pg_dump switches indicate a "custom" file format, and the output file
is a standard plain-text UNIX file.
Nevertheless, when the export runs, it throws this warning for each
database instance:
pg_dump: [archiver] WARNING: requested compression not available in this
installation - archive will be uncompressed
This indicates that you built Postgres without compression support (no zlib).
The default for -Fc format, however, is to compress, and you get this
bleat because it can't do so. I think you can suppress the bleating by
adding "-Z 0" to the switches ... but it might be better to install zlib
and rebuild.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.