select...into non-temp table raises 'duplicate key ... pg_type_typname_nsp_index'

From: "Carlo Stonebanks" <stonec(dot)register(at)sympatico(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: select...into non-temp table raises 'duplicate key ... pg_type_typname_nsp_index'
Date: 2008-02-20 16:32:53
Message-ID: fphkng$1ehr$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

When performing a "select ... into ... " an app crashed out with the error
'duplicate key violates unique constraint "pg_type_typname_nsp_index"'

I looked in the mail lists and I see this error associated with TEMPORARY
tables, but the "into" table is not a temp table. A previous
"drop_table_if_exists" function makes sure that no other table of the same
name exists (and I imagine I would get a "table already exists error")

It's the first time I've seen this error in our PG 8.2.4 Win2K X64
environment.

Has this issue been resolved for the temp tables, and is my problem related?

TIA

Carlo

Browse pgsql-general by date

  From Date Subject
Next Message Postgres User 2008-02-20 16:51:55 Re: Regex query not using index
Previous Message Tom Lane 2008-02-20 16:31:54 Re: Regex query not using index