Re: How to get single table data from backup - Mailing list pgsql-general

From Andrus
Subject Re: How to get single table data from backup
Date
Msg-id 5b7b0914-ae51-48cb-a6a8-db678f42ebd5@hot.ee
Whole thread Raw
In response to Re: How to get single table data from backup  (Christoph Moench-Tegeder <cmt@burggraben.net>)
List pgsql-general

Hi!

Geat answer since doesnt require manual sql editing. It worked.

Thank you.

Andrus.

19.12.2025 19:05 Christoph Moench-Tegeder kirjutas:
## Andrus (kobruleht2@hot.ee):

This fails since tabletorecover contains lot foreign key references.
Check pg_restore options "--section=pre-data" and "--section=data" -
pre-data is the schema without indexes, contraints, etc. (those
would be in section post-data).

Regards,
Christoph

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Fwd: PQexecPrepared() question
Next
From: Adrian Klaver
Date:
Subject: Re: Fwd: PQexecPrepared() question