Re: exporting postgre data

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: johnf <jfabiani(at)yolo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: exporting postgre data
Date: 2008-01-25 20:41:52
Message-ID: 479A4990.2040309@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 25/01/2008 16:51, johnf wrote:

> The issue I have with pgAdmin3 and backing up a table is with the restore.
> The associated sequences are not restored. Granted that might be a different
> problem. But from a users perspective I see it as a major problem.

Oh? Works fine for me, on PG 8.2.5 - pg_dump exports the SQL to recreate
the sequence, and a setval() to reset it to where it was.

Ray.

---------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod(at)iol(dot)ie
---------------------------------------------------------------

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2008-01-25 20:48:13 Re: shouldn't all tables have Object Descriptions?
Previous Message Joshua D. Drake 2008-01-25 20:38:15 Only a week left for PostgreSQL Conference talk submissions