Re: [HACKERS] A problem with the constraint system.

From: Sferacarta Software <sferac(at)bo(dot)nettuno(dot)it>
To: pgsql-hackers(at)postgresql(dot)org (Hackers PostgreSQL), "Billy G(dot) Allie" <Bill(dot)Allie(at)mug(dot)org>
Subject: Re: [HACKERS] A problem with the constraint system.
Date: 1998-11-12 11:44:28
Message-ID: 10530.981112@bo.nettuno.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello Billy,

giovedì, 12 novembre 98, you wrote:

BGA> -----BEGIN PGP SIGNED MESSAGE-----
BGA> Hash: SHA1

BGA> The problem:

BGA> Creating a table with a name containing mixed case that has a
BGA> constraint, the creation will fail. For example:

BGA> mug=> create table "MyTest" ( a int4 default 10 );
BGA> ERROR: mytest: Table does not exist.
BGA> mug=>
BGA> The Solution:
BGA> I haven't the faintest idea!

I have this error also using CHECK... but the error message goes away
if I create, drop and re-create the table...

prova=> create table "MyTest" ( a int4 check(a>0) );
ERROR: mytest: Table does not exist.
prova=> create table "MyTest" ( a int4 );
CREATE
prova=> drop table "MyTest";
DROP
prova=> create table "MyTest" ( a int4 check(a>0) );
CREATE

-Jose'-

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Asher 1998-11-12 12:43:39 unsubscribe
Previous Message Michael Meskes 1998-11-12 08:00:48 Re: [HACKERS] CORBA interface in backend?