Re: Error with sequences, "sequence was re-created"

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: "Charles H(dot) Woloszynski" <chw(at)clearmetrix(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Error with sequences, "sequence was re-created"
Date: 2002-10-02 19:36:06
Message-ID: 20021002123528.J10839-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 2 Oct 2002, Charles H. Woloszynski wrote:

> I am porting an existing database to PostgreSQL and have encountered a
> strange error.
>
> When I am in psql and use \i to read the SQL script, I get messages
> about various sequences being re-created. After the re-creation of
> the sequence, I am getting errors about currval() not being valid. I've
> included a snippet of the output below. [There were a series of ERROR
> messages that the script causes when it tries to drop tables that don't
> exist ... I've ignored those... perhaps to my detriment].

Can you send the appropriate section of the script?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Curtis Faith 2002-10-02 20:13:25 Advice: Where could I be of help?
Previous Message scott.marlowe 2002-10-02 18:47:33 Re: Question about Cursors