Unix Technical Forum

Copying pg_control file

This is a discussion on Copying pg_control file within the pgsql Novice forums, part of the PostgreSQL category; --> Hi all, I am running postgresql 7.1.3 on Red Hat Linux 7.2. pg_control file get corrupted on abrupt PC ...


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

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 08:15 PM
Deepa K
 
Posts: n/a
Default Copying pg_control file

Hi all,
I am running postgresql 7.1.3 on Red Hat Linux 7.2. pg_control file get
corrupted on abrupt PC reboot. Can I copy the pg_control file of another
PC (in which also postgresql 7.1.3 is running on Red Hat Linux 7.2)
here??

TIA

--
regards,
Deepa K

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 08:15 PM
Kretschmer Andreas
 
Posts: n/a
Default Re: Copying pg_control file

am Sat, dem 18.12.2004, um 14:04:07 +0530 mailte Deepa K folgendes:
> Hi all,
> I am running postgresql 7.1.3 on Red Hat Linux 7.2. pg_control file get
> corrupted on abrupt PC reboot. Can I copy the pg_control file of another
> PC (in which also postgresql 7.1.3 is running on Red Hat Linux 7.2)
> here??


Unlikely. The pg_control contains information about the last checkpoint.
It is used by pg_restore. I think, the contents of the pg_control - file
ist from the other machine ist very different to the crashed machine.


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 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

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 04:27 AM.


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