pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
compression -Fx "problem"
8+ messages / 5 participants
[nested] [flat]

* compression -Fx "problem"
@ 2001-12-04 08:45 Manuel Trujillo <manueltrujillo@dorna.es>
  2001-12-04 14:56 ` Re: compression -Fx "problem" Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 8+ messages in thread

From: Manuel Trujillo @ 2001-12-04 08:45 UTC (permalink / raw)
  To: pgsql-admin

Hi.

I has compiled a postgresql 7.1.3 into a Debian GNU/Linux. The
"configure" option has the 'max-backends', 'enable-locale' and
'enable-syslog' options.
When I make a:
	pg_dump -O -x -Fc <database> > backupdatabase.sql
The program tell me a "warning" like this:

Archiver: WARNING - requested compression not available in this
installation - archive will be uncompressed

What I make to do for obtain the necessary compression for the "-Fc"
flag and work after with pg_restore?

Thank you very much.

Have a nice day ;-)
TooManySecrets

-- 
Manuel Trujillo         manueltrujillo@dorna.es
Technical Engineer      http://www.motograndprix.com
Dorna Sports S.L.       +34 93 4702864



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: compression -Fx "problem"
  2001-12-04 08:45 compression -Fx "problem" Manuel Trujillo <manueltrujillo@dorna.es>
@ 2001-12-04 14:56 ` Tom Lane <tgl@sss.pgh.pa.us>
  2001-12-04 21:21   ` Re: [ADMIN] compression -Fx "problem" Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 1 reply; 8+ messages in thread

From: Tom Lane @ 2001-12-04 14:56 UTC (permalink / raw)
  To: Manuel Trujillo <manueltrujillo@dorna.es>; +Cc: pgsql-admin

Manuel Trujillo <manueltrujillo@dorna.es> writes:
> The program tell me a "warning" like this:
> Archiver: WARNING - requested compression not available in this
> installation - archive will be uncompressed
> What I make to do for obtain the necessary compression for the "-Fc"
> flag and work after with pg_restore?

You need to install zlib, then reconfigure and rebuild Postgres.
Pay attention to whether the configure run finds zlib...

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: [ADMIN] compression -Fx "problem"
  2001-12-04 08:45 compression -Fx "problem" Manuel Trujillo <manueltrujillo@dorna.es>
  2001-12-04 14:56 ` Re: compression -Fx "problem" Tom Lane <tgl@sss.pgh.pa.us>
@ 2001-12-04 21:21   ` Peter Eisentraut <peter_e@gmx.net>
  2001-12-04 21:26     ` Re: [ADMIN] compression -Fx "problem" Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 8+ messages in thread

From: Peter Eisentraut @ 2001-12-04 21:21 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: PostgreSQL Development <pgsql-hackers@postgresql.org>

Tom Lane writes:

> You need to install zlib, then reconfigure and rebuild Postgres.
> Pay attention to whether the configure run finds zlib...

This has got to stop.  We've seen "my cursor keys don't work in psql", now
we see "compression doesn't work" every so often.  Somehow we have to get
deterministic output from configure without "paying attention".  Either
require these libraries by default (my preference) or not, but not "take
what's there".

-- 
Peter Eisentraut   peter_e@gmx.net




^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: [ADMIN] compression -Fx "problem"
  2001-12-04 08:45 compression -Fx "problem" Manuel Trujillo <manueltrujillo@dorna.es>
  2001-12-04 14:56 ` Re: compression -Fx "problem" Tom Lane <tgl@sss.pgh.pa.us>
  2001-12-04 21:21   ` Re: [ADMIN] compression -Fx "problem" Peter Eisentraut <peter_e@gmx.net>
@ 2001-12-04 21:26     ` Tom Lane <tgl@sss.pgh.pa.us>
  2001-12-04 21:43       ` Re: [ADMIN] compression -Fx "problem" Bruce Momjian <pgman@candle.pha.pa.us>
  2001-12-28 19:47       ` Re: [ADMIN] compression -Fx "problem" Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 2 replies; 8+ messages in thread

From: Tom Lane @ 2001-12-04 21:26 UTC (permalink / raw)
  To: Peter Eisentraut <peter_e@gmx.net>; +Cc: PostgreSQL Development <pgsql-hackers@postgresql.org>

Peter Eisentraut <peter_e@gmx.net> writes:
> This has got to stop.  We've seen "my cursor keys don't work in psql", now
> we see "compression doesn't work" every so often.  Somehow we have to get
> deterministic output from configure without "paying attention".  Either
> require these libraries by default (my preference) or not, but not "take
> what's there".

So you're thinking "error out unless user said --without-zlib or
--without-readline"?

I could live with that, assuming that the error message mentioned that
switch as the way to build without the library.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: [ADMIN] compression -Fx "problem"
  2001-12-04 08:45 compression -Fx "problem" Manuel Trujillo <manueltrujillo@dorna.es>
  2001-12-04 14:56 ` Re: compression -Fx "problem" Tom Lane <tgl@sss.pgh.pa.us>
  2001-12-04 21:21   ` Re: [ADMIN] compression -Fx "problem" Peter Eisentraut <peter_e@gmx.net>
  2001-12-04 21:26     ` Re: [ADMIN] compression -Fx "problem" Tom Lane <tgl@sss.pgh.pa.us>
@ 2001-12-04 21:43       ` Bruce Momjian <pgman@candle.pha.pa.us>
  1 sibling, 0 replies; 8+ messages in thread

From: Bruce Momjian @ 2001-12-04 21:43 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Peter Eisentraut <peter_e@gmx.net>; PostgreSQL Development <pgsql-hackers@postgresql.org>

> Peter Eisentraut <peter_e@gmx.net> writes:
> > This has got to stop.  We've seen "my cursor keys don't work in psql", now
> > we see "compression doesn't work" every so often.  Somehow we have to get
> > deterministic output from configure without "paying attention".  Either
> > require these libraries by default (my preference) or not, but not "take
> > what's there".
> 
> So you're thinking "error out unless user said --without-zlib or
> --without-readline"?

Or --my_cursor_keys_will_never_work_in_psql.  :-)

Not sure if they are going to make the connection between
--without-readline and psql cursor keys.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: [ADMIN] compression -Fx "problem"
  2001-12-04 08:45 compression -Fx "problem" Manuel Trujillo <manueltrujillo@dorna.es>
  2001-12-04 14:56 ` Re: compression -Fx "problem" Tom Lane <tgl@sss.pgh.pa.us>
  2001-12-04 21:21   ` Re: [ADMIN] compression -Fx "problem" Peter Eisentraut <peter_e@gmx.net>
  2001-12-04 21:26     ` Re: [ADMIN] compression -Fx "problem" Tom Lane <tgl@sss.pgh.pa.us>
@ 2001-12-28 19:47       ` Bruce Momjian <pgman@candle.pha.pa.us>
  2001-12-28 20:05         ` Re: [ADMIN] compression -Fx "problem" Tom Lane <tgl@sss.pgh.pa.us>
  1 sibling, 1 reply; 8+ messages in thread

From: Bruce Momjian @ 2001-12-28 19:47 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Peter Eisentraut <peter_e@gmx.net>; PostgreSQL Development <pgsql-hackers@postgresql.org>

> Peter Eisentraut <peter_e@gmx.net> writes:
> > This has got to stop.  We've seen "my cursor keys don't work in psql", now
> > we see "compression doesn't work" every so often.  Somehow we have to get
> > deterministic output from configure without "paying attention".  Either
> > require these libraries by default (my preference) or not, but not "take
> > what's there".
> 
> So you're thinking "error out unless user said --without-zlib or
> --without-readline"?
> 
> I could live with that, assuming that the error message mentioned that
> switch as the way to build without the library.

What I have seen some packages do is to report unusual configure
findings just a configure exits.  Something like:

	Your psql cursor keys will not work because readline wasn't found

or something like that for zlib.

Added to TODO:

	* Report failure to find readline or zlib at end of configure run

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: [ADMIN] compression -Fx "problem"
  2001-12-04 08:45 compression -Fx "problem" Manuel Trujillo <manueltrujillo@dorna.es>
  2001-12-04 14:56 ` Re: compression -Fx "problem" Tom Lane <tgl@sss.pgh.pa.us>
  2001-12-04 21:21   ` Re: [ADMIN] compression -Fx "problem" Peter Eisentraut <peter_e@gmx.net>
  2001-12-04 21:26     ` Re: [ADMIN] compression -Fx "problem" Tom Lane <tgl@sss.pgh.pa.us>
  2001-12-28 19:47       ` Re: [ADMIN] compression -Fx "problem" Bruce Momjian <pgman@candle.pha.pa.us>
@ 2001-12-28 20:05         ` Tom Lane <tgl@sss.pgh.pa.us>
  2001-12-28 21:50           ` Re: [ADMIN] compression -Fx "problem" Andrew McMillan <andrew@catalyst.net.nz>
  0 siblings, 1 reply; 8+ messages in thread

From: Tom Lane @ 2001-12-28 20:05 UTC (permalink / raw)
  To: Bruce Momjian <pgman@candle.pha.pa.us>; +Cc: Peter Eisentraut <peter_e@gmx.net>; PostgreSQL Development <pgsql-hackers@postgresql.org>

Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Added to TODO:
> 	* Report failure to find readline or zlib at end of configure run

Peter will certainly not consider that an acceptable answer, since it
helps not at all for non-interactive builds.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: [ADMIN] compression -Fx "problem"
  2001-12-04 08:45 compression -Fx "problem" Manuel Trujillo <manueltrujillo@dorna.es>
  2001-12-04 14:56 ` Re: compression -Fx "problem" Tom Lane <tgl@sss.pgh.pa.us>
  2001-12-04 21:21   ` Re: [ADMIN] compression -Fx "problem" Peter Eisentraut <peter_e@gmx.net>
  2001-12-04 21:26     ` Re: [ADMIN] compression -Fx "problem" Tom Lane <tgl@sss.pgh.pa.us>
  2001-12-28 19:47       ` Re: [ADMIN] compression -Fx "problem" Bruce Momjian <pgman@candle.pha.pa.us>
  2001-12-28 20:05         ` Re: [ADMIN] compression -Fx "problem" Tom Lane <tgl@sss.pgh.pa.us>
@ 2001-12-28 21:50           ` Andrew McMillan <andrew@catalyst.net.nz>
  0 siblings, 0 replies; 8+ messages in thread

From: Andrew McMillan @ 2001-12-28 21:50 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Bruce Momjian <pgman@candle.pha.pa.us>; Peter Eisentraut <peter_e@gmx.net>; PostgreSQL Development <pgsql-hackers@postgresql.org>

On Sat, 2001-12-29 at 09:05, Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Added to TODO:
> > 	* Report failure to find readline or zlib at end of configure run
> 
> Peter will certainly not consider that an acceptable answer, since it
> helps not at all for non-interactive builds.
> 

Doing that sort of thing is a huge improvement though.  Hopefully the
people who are doing auto builds have done them manually a few times
first!

To take it a bit further though, you could perhaps have it refuse to
continue beyond that without an explicit configure option.  That would
then stop the auto build as well.

Regards,
					Andrew.
-- 
--------------------------------------------------------------------
Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington
WEB: http://catalyst.net.nz/        PHYS: Level 2, 150-154 Willis St
DDI: +64(4)916-7201    MOB: +64(21)635-694    OFFICE: +64(4)499-2267
       Are you enrolled at http://schoolreunions.co.nz/ yet?




^ permalink  raw  reply  [nested|flat] 8+ messages in thread


end of thread, other threads:[~2001-12-28 21:50 UTC | newest]

Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-12-04 08:45 compression -Fx "problem" Manuel Trujillo <manueltrujillo@dorna.es>
2001-12-04 14:56 ` Tom Lane <tgl@sss.pgh.pa.us>
2001-12-04 21:21   ` Peter Eisentraut <peter_e@gmx.net>
2001-12-04 21:26     ` Tom Lane <tgl@sss.pgh.pa.us>
2001-12-04 21:43       ` Bruce Momjian <pgman@candle.pha.pa.us>
2001-12-28 19:47       ` Bruce Momjian <pgman@candle.pha.pa.us>
2001-12-28 20:05         ` Tom Lane <tgl@sss.pgh.pa.us>
2001-12-28 21:50           ` Andrew McMillan <andrew@catalyst.net.nz>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox