pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Schmitz <a.schmitz@cityweb.de>
To: Rado Petrik <r.p@szm.sk>
To: PostgreSQL-mailinglist <pgsql-sql@postgresql.org>
Subject: Re: Problem with old relation
Date: Fri, 2 May 2003 14:08:07 +0200
Message-ID: <200305021408.07667.a.schmitz@cityweb.de> (raw)
In-Reply-To: <1051878034.29270.7.camel@caj>
References: <1051878034.29270.7.camel@caj>


Hi,

you also have to drop the sequence.

drop sequence kokot_kokot_seq;


regards

-andreas



On Friday 02 May 2003 14:20, Rado Petrik wrote:
> Hi,
>
> 1) When I create new table expample.
>
> CREATE TABLE "kokot" (
> "kokot" SERIAL );
>
>
> 2) and then DROP table kokot ..
>
> 3) and then again CREATE table
>
> CREATE TABLE "kokot" (
> "kokot" SERIAL );
>
> PostgreSQL return this error
>
> PostgreSQL said: ERROR: Relation 'kokot_kokot_seq' already exists
> Your query:
> CREATE TABLE "kokot" (
> "kokot" SERIAL );
>
> Where is problem ?
> Thanks
>
> Rado

-- 
Andreas Schmitz - Phone +49 201 8501 318
Cityweb-Technik-Service-Gesellschaft mbH
Friedrichstr. 12 - Fax +49 201 8501 104
45128 Essen - email a.schmitz@cityweb.de




view thread (3+ messages)  latest in thread

Message-ID: <200305021408.07667.a.schmitz@cityweb.de>
Permalink:  ../200305021408.07667.a.schmitz@cityweb.de/
Also on:    postgresql.org/message-id/200305021408.07667.a.schmitz@cityweb.de

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: a.schmitz@cityweb.de, r.p@szm.sk
  Subject: Re: Problem with old relation
  In-Reply-To: <200305021408.07667.a.schmitz@cityweb.de>

* 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