Re: Is it bug ?

From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: Ivar <ivar(at)lumisoft(dot)ee>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Is it bug ?
Date: 2003-06-16 18:02:34
Message-ID: 3EEE063A.9010805@Yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ivar wrote:
> Hi,
>
> Is it bug ?
> Try to create these tables with following order
>
> CREATE TABLE m_tvh (
> web_teid varchar(40) UNIQUE
> );
>
> CREATE TABLE m_tvh_web (
> teid varchar(40) UNIQUE
> );
>
> Both wany make index with name 'm_tvh_web_teid_key'.
>
> Postgre version = 7.3.1.

I would say so. I don't think the standard forbids the above, and if
that is right, it clearly is a bug.

We maybe should relocate auto-created indexes for UNIQUE and PKEY
definitions into some sort of special schema and give them funny names?

Jan

--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andy Kriger 2003-06-16 18:04:37 sql standard questions
Previous Message Dennis Gearon 2003-06-16 17:50:07 Re: include shell commands in query