pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
why use -Ft or -Fc instead of the other on pg_dump?
4+ messages / 3 participants
[nested] [flat]

* why use -Ft or -Fc instead of the other on pg_dump?
@ 2008-02-19 17:59 Douglas J Hunley <doug@hunley.homeip.net>
  2008-02-19 18:12 ` Re: why use -Ft or -Fc instead of the other on pg_dump? Tom Lane <tgl@sss.pgh.pa.us>
  2008-02-19 19:47 ` Re: why use -Ft or -Fc instead of the other on pg_dump? Andrew Sullivan <ajs@crankycanuck.ca>
  0 siblings, 2 replies; 4+ messages in thread

From: Douglas J Hunley @ 2008-02-19 17:59 UTC (permalink / raw)
  To: pgsql-admin

I seemed to have walked into a "spirited" debate at work today, so I'm turning 
to the authorities to get it resolved. Why would one choose -Ft over -Fc (or 
vice-versa) when doing pg_dump? Is there truly any difference of note 
(outside the formats themselves)?

Thanks
-- 
Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778
http://doug.hunley.homeip.net

The professor spit too much when he talked. It was like being at Sea 
World. "The first five rows will get wet."



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

* Re: why use -Ft or -Fc instead of the other on pg_dump?
  2008-02-19 17:59 why use -Ft or -Fc instead of the other on pg_dump? Douglas J Hunley <doug@hunley.homeip.net>
@ 2008-02-19 18:12 ` Tom Lane <tgl@sss.pgh.pa.us>
  2008-02-19 18:50   ` Re: why use -Ft or -Fc instead of the other on pg_dump? Douglas J Hunley <doug@hunley.homeip.net>
  1 sibling, 1 reply; 4+ messages in thread

From: Tom Lane @ 2008-02-19 18:12 UTC (permalink / raw)
  To: Douglas J Hunley <doug@hunley.homeip.net>; +Cc: pgsql-admin

Douglas J Hunley <doug@hunley.homeip.net> writes:
> I seemed to have walked into a "spirited" debate at work today, so I'm turning 
> to the authorities to get it resolved. Why would one choose -Ft over -Fc (or 
> vice-versa) when doing pg_dump?

I can't really imagine any reason to choose -Ft, except wanting to do
post-processing of the dump with command-line tools.  -Ft's lack of
compression and limitations on component size are sufficient reasons
not to choose it without a specific need to.  I think it has some
other limitations too, but those are two that I recall immediately.

			regards, tom lane



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

* Re: why use -Ft or -Fc instead of the other on pg_dump?
  2008-02-19 17:59 why use -Ft or -Fc instead of the other on pg_dump? Douglas J Hunley <doug@hunley.homeip.net>
  2008-02-19 18:12 ` Re: why use -Ft or -Fc instead of the other on pg_dump? Tom Lane <tgl@sss.pgh.pa.us>
@ 2008-02-19 18:50   ` Douglas J Hunley <doug@hunley.homeip.net>
  0 siblings, 0 replies; 4+ messages in thread

From: Douglas J Hunley @ 2008-02-19 18:50 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-admin

On Tuesday 19 February 2008 13:12:23 Tom Lane wrote:
> I can't really imagine any reason to choose -Ft, except wanting to do
> post-processing of the dump with command-line tools.  -Ft's lack of
> compression and limitations on component size are sufficient reasons
> not to choose it without a specific need to.  I think it has some
> other limitations too, but those are two that I recall immediately.

Excellent. Pretty much closes the debate here. Thx Tom

-- 
Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778
http://doug.hunley.homeip.net

"She's gone! Oh my God, she used me. I was used. I was used! Cool"



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

* Re: why use -Ft or -Fc instead of the other on pg_dump?
  2008-02-19 17:59 why use -Ft or -Fc instead of the other on pg_dump? Douglas J Hunley <doug@hunley.homeip.net>
@ 2008-02-19 19:47 ` Andrew Sullivan <ajs@crankycanuck.ca>
  1 sibling, 0 replies; 4+ messages in thread

From: Andrew Sullivan @ 2008-02-19 19:47 UTC (permalink / raw)
  To: pgsql-admin

On Tue, Feb 19, 2008 at 12:59:55PM -0500, Douglas J Hunley wrote:
> I seemed to have walked into a "spirited" debate at work today, so I'm turning 
> to the authorities to get it resolved. Why would one choose -Ft over -Fc (or 
> vice-versa) when doing pg_dump? Is there truly any difference of note 
> (outside the formats themselves)?

My rule is "never use -Ft".  I've tripped over various bugs over the years. 
Indeed, I just had another example of one (from 7.4, mind) the other day.

A




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


end of thread, other threads:[~2008-02-19 19:47 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-02-19 17:59 why use -Ft or -Fc instead of the other on pg_dump? Douglas J Hunley <doug@hunley.homeip.net>
2008-02-19 18:12 ` Tom Lane <tgl@sss.pgh.pa.us>
2008-02-19 18:50   ` Douglas J Hunley <doug@hunley.homeip.net>
2008-02-19 19:47 ` Andrew Sullivan <ajs@crankycanuck.ca>

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