Unix Technical Forum

pg_dumpall with oids/blobs

This is a discussion on pg_dumpall with oids/blobs within the pgsql Novice forums, part of the PostgreSQL category; --> Hi! I'd like to upgrade my all postgres databases from pg 7.4 to pg 8.0. Many of them use ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Novice

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 09:16 PM
Marcin Gil
 
Posts: n/a
Default pg_dumpall with oids/blobs

Hi!

I'd like to upgrade my all postgres databases from pg 7.4
to pg 8.0. Many of them use large objects with oids stored
in tables. How can I dump them all at once and restore
with right oids?

Regards,
-Marcin Gil


---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 09:16 PM
Kretschmer Andreas
 
Posts: n/a
Default Re: pg_dumpall with oids/blobs

am Mon, dem 20.12.2004, um 16:16:56 +0100 mailte Marcin Gil folgendes:
> Hi!
>
> I'd like to upgrade my all postgres databases from pg 7.4
> to pg 8.0. Many of them use large objects with oids stored
> in tables. How can I dump them all at once and restore


Read 'man pg_dump' and search for oid.


Regards, Andreas
--
Diese Message wurde erstellt mit freundlicher Unterstützung eines freilau-
fenden Pinguins aus artgerechter Freilandhaltung. Er ist garantiert frei
von Micro$oft'schen Viren. (#97922 http://counter.li.org) GPG 7F4584DA
Was, Sie wissen nicht, wo Kaufbach ist? Hier: N 51.05082°, E 13.56889° ;-)

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-17-2008, 09:16 PM
Marcin Gil
 
Posts: n/a
Default Re: pg_dumpall with oids/blobs

----Original Message----
From: pgsql-novice-owner@postgresql.org
[mailtogsql-novice-owner@postgresql.org] On Behalf Of
Kretschmer Andreas
Sent: Monday, December 20, 2004 4:51 PM
To: 'PGSQL-Novice'
Subject: Re: [NOVICE] pg_dumpall with oids/blobs

> Read 'man pg_dump' and search for oid.
>

Yes, I know about that option. However I need pg_dumpall
not only to dump with oid order but also dump my large objects. AFAIK
pg_dumpall
makes only text (sql) dumps and cannot do binary dumps that are necessary
for blobs. Thus my question (maybe little innacurate) "how can I do it?".

TIA,
-Marcin


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:46 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com