BUG #6084: When Updating Tables with Select Into - Mailing list pgsql-bugs

From Stewart Fritts
Subject BUG #6084: When Updating Tables with Select Into
Date
Msg-id 201106291419.p5TEJbEZ034136@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #6084: When Updating Tables with Select Into
List pgsql-bugs
The following bug has been logged online:

Bug reference:      6084
Logged by:          Stewart Fritts
Email address:      stewart.fritts@gmail.com
PostgreSQL version: 8.4
Operating system:   Windows Server 2003
Description:        When Updating Tables with Select Into
Details:

First, I love your database. I have been using it for a few years now and it
rarely lets me down while regularly surprising me with how powerful it truly
is.

I recently migrated some data from one set of tables to another within a
single schema. I did this by using a select...into query. Everything moved
perfectly. However; I noticed that the sequence for the receiving table did
not increment with the newly added data.

It was an easy enough fix, I just changed the current value of the sequence
causing the issue. But I thought it was worth mentioning that this happened.

pgsql-bugs by date:

Previous
From: "Steve Haslam"
Date:
Subject: BUG #6082: server segfault - pg_stat_reset_shared(null)
Next
From: "Steve Haslam"
Date:
Subject: BUG #6083: psql script line numbers incorrectly count \copy data