pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: mathias.zajaczkowski@ubik.ch
To: pgsql-bugs@postgresql.org
Subject: BUG #13993: Temp sequence does not seem to be properly deleted
Date: Sun, 28 Feb 2016 20:08:12 +0000
Message-ID: <20160228200812.10543.12731@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      13993
Logged by:          Zajaczkowski
Email address:      mathias.zajaczkowski@ubik.ch
PostgreSQL version: 9.4.4
Operating system:   Windows 7 64 bits
Description:        

I use pgAdmin V. 1.20.0 (Jul 13 2015, rev: REL-1_20_0)
Within a script I created temporary sequence:
CREATE TEMP SEQUENCE 'rateSeq' with S in uppercase to be used for rate table
pk.
Script run fine.
Next time script gave an error "relation rateseq already exists".
I modified the creation of the sequence  to:
CREATE TEMP SEQUENCE rateseq (all in lower case)
Same error when running the script.
I tried: DROP SEQUENCE rateseq
Result: sequence <<rateseq>> does not exist.
I completely changed the name of my sequence to "seq4rate" => same error.
I hade a look in pg_class table where I found a record with relname =
rateseq.
I deleted this line. It was not a good idea, but I'm not in production and
had this try.
Since then trying to run the script I had a message "... with Oid can not be
found ..."
I restored the database. Problem persisted.
I stoped and restarted the service "postgresql-x64-9.4 - PostgreSQL Server
9.4".
That solved my problem.

Kind regards


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)  latest in thread

Message-ID: <20160228200812.10543.12731@wrigleys.postgresql.org>
Permalink:  ../20160228200812.10543.12731@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20160228200812.10543.12731@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: mathias.zajaczkowski@ubik.ch
  Subject: Re: BUG #13993: Temp sequence does not seem to be properly deleted
  In-Reply-To: <20160228200812.10543.12731@wrigleys.postgresql.org>
  References: <20160228200812.10543.12731@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox