Re: Is it bug ?

From: "Ivar" <ivar(at)lumisoft(dot)ee>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Is it bug ?
Date: 2003-06-16 18:09:52
Message-ID: bcl108$23a$1@main.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> We maybe should relocate auto-created indexes for UNIQUE and PKEY
> definitions into some sort of special schema and give them funny names?
MS SQL adds funny names as columnName_236321_215251_156, seems that adds
some random at end to avoid similar errors.

"Jan Wieck" <JanWieck(at)Yahoo(dot)com> wrote in message
news:3EEE063A(dot)9010805(at)Yahoo(dot)com(dot)(dot)(dot)
> 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 #
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Greg Stark 2003-06-16 18:13:40 Re: full featured alter table?
Previous Message Andy Kriger 2003-06-16 18:04:37 sql standard questions