Skip site navigation (1) Skip section navigation (2)

Retrieving data from the data files.

From: Darren Reed <darrenr(at)fastmail(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Retrieving data from the data files.
Date: 2008-02-26 06:19:15
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
For whatever reason, I seem to be plagued with issues...
Whether they're hardware or operating system or a bad
combination....I'm not sure yet....and I find myself needing
to recover from postgres not wanting to play all too often.

In looking at the database data files, I notice that in (for example)
a file called /data/db/base/10819/16397, are the contents for
one of the relations.  The data appears to be correctly stored
with NULLs for field seperators, etc.  On the assumption that
the raw data itself is ok, how do I get that data out?

Has anyone written a program to extract data directly from
the database data files without using postgres?

Are there any caveats in doing so?


pgsql-admin by date

Next:From: Shoaib MirDate: 2008-02-26 06:33:07
Subject: Re: How to reindex when unable to open relation?
Previous:From: Darren ReedDate: 2008-02-26 06:13:51
Subject: How to reindex when unable to open relation?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group